/external/javassist/src/main/javassist/util/proxy/ |
MethodHandler.java | 18 import java.lang.reflect.Method; 28 * Is called when a method is invoked on a proxy instance associated 29 * with this handler. This method must process that method invocation. 32 * @param thisMethod the overridden method declared in the super 34 * @param proceed the forwarder method for invoking the overridden 35 * method. It is null if the overridden mehtod is 38 * the arguments passed in the method invocation 42 * @return the resulting value of the method invocation. 44 * @throws Throwable if the method invocation fails [all...] |
MethodFilter.java | 18 import java.lang.reflect.Method; 27 * Returns true if the given method is implemented by a handler. 29 boolean isHandled(Method m);
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
Method.java | 19 * $Id: Method.java 468654 2006-10-28 07:09:23Z minchau $ 34 * OutputPropertiesFactory.getDefaultMethodProperties() method to get 44 public final class Method 49 private Method() { 54 * The output method type for XML documents: <tt>xml</tt>. 59 * The output method type for HTML documents: <tt>html</tt>. 64 * The output method for XHTML documents: <tt>xhtml</tt>. 66 * This method type is not currently supported. 71 * The output method type for text documents: <tt>text</tt>. 76 * The "internal" method, just used when no method is [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/ |
InvocationHandler.java | 18 import java.lang.reflect.Method; 31 * @see java.lang.reflect.InvocationHandler#invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object) 33 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable;
|
CallbackFilter.java | 18 import java.lang.reflect.Method; 23 * callback. The type of the callbacks chosen for each method affects 24 * the bytecode generated for that method in the subclass, and cannot 29 * Map a method to a callback. 31 * @param method the intercepted method 33 * @return the index into the array of callbacks (as specified by {@link Enhancer#setCallbacks}) to use for the method, 35 int accept(Method method, List<Method> allMethods) [all...] |
/external/mockito/src/org/mockito/internal/invocation/ |
MockitoMethod.java | 7 import java.lang.reflect.Method;
21 public Method getJavaMethod();
|
/dalvik/dx/src/com/android/dx/cf/iface/ |
StdMethodList.java | 23 * an array of {@link Method} objects and can be made immutable. 36 public Method get(int n) { 37 return (Method) get0(n); 41 * Sets the method at the given index. 43 * @param n {@code >= 0, < size();} which method 44 * @param method {@code null-ok;} the method object 46 public void set(int n, Method method) { 47 set0(n, method); [all...] |
MethodList.java | 41 * Get the {@code n}th method. 43 * @param n {@code n >= 0, n < size();} which method 44 * @return {@code non-null;} the method in question 46 public Method get(int n);
|
/external/clang/test/CodeGenCXX/ |
2004-03-08-ReinterpretCastCopy.cpp | 5 virtual void Method() = 0; 9 virtual void Method() { } 17 fn_type_a f = reinterpret_cast<fn_type_a>(&B::Method);
|
/external/mockito/src/org/mockito/internal/runners/util/ |
TestMethodsFinder.java | 9 import java.lang.reflect.Method;
13 Method[] methods = klass.getMethods();
14 for(Method m:methods) {
|
/external/apache-http/src/org/apache/http/util/ |
ExceptionUtils.java | 33 import java.lang.reflect.Method; 50 /** A reference to Throwable's initCause method, or null if it's not there in this JVM */ 51 static private final Method INIT_CAUSE_METHOD = getInitCauseMethod(); 54 * Returns a <code>Method<code> allowing access to 55 * {@link Throwable#initCause(Throwable) initCause} method of {@link Throwable}, 56 * or <code>null</code> if the method 59 * @return A <code>Method<code> for <code>Throwable.initCause</code>, or 62 static private Method getInitCauseMethod() {
|
/external/clang/include/clang/Sema/ |
ObjCMethodList.h | 25 ObjCMethodDecl *Method; 29 ObjCMethodList() : Method(nullptr) { } 31 : Method(M), NextAndExtraBits(C, 0) { }
|
/external/mockito/src/org/mockito/internal/creation/ |
DelegatingMethod.java | 7 import java.lang.reflect.Method;
13 private final Method method;
field in class:DelegatingMethod 15 public DelegatingMethod(Method method) {
16 assert method != null : "Method cannot be null";
17 this.method = method;
21 return method.getExceptionTypes(); [all...] |
/external/guava/guava-tests/test/com/google/common/eventbus/ |
EventHandlerTest.java | 20 import java.lang.reflect.Method; 43 * Checks that a no-frills, no-issues method call is properly executed. 48 Method method = getRecordingMethod(); local 50 EventHandler handler = new EventHandler(this, method); 54 assertTrue("Handler must call provided method.", methodCalled); 75 Method method = getRecordingMethod(); local 77 new EventHandler(null, method); 85 Method method = getExceptionThrowingMethod() local 98 Method method = getErrorThrowingMethod(); local 119 Method method; local 142 Method method; local 165 Method method; local [all...] |
/external/easymock/src/org/easymock/internal/ |
ILegacyMatcherMethods.java | 18 import java.lang.reflect.Method;
26 void setMatcher(Method method, org.easymock.ArgumentsMatcher matcher);
|
/external/guava/guava/src/com/google/common/eventbus/ |
SynchronizedEventHandler.java | 20 import java.lang.reflect.Method; 23 * Wraps a single-argument 'handler' method on a specific object, and ensures 24 * that only one thread may enter the method at a time. 33 * Creates a new SynchronizedEventHandler to wrap {@code method} on 36 * @param target object to which the method applies. 37 * @param method handler method. 39 public SynchronizedEventHandler(Object target, Method method) { 40 super(target, method); [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/ |
DuplicatesPredicate.java | 18 import java.lang.reflect.Method; 25 return unique.add(MethodWrapper.create((Method)arg));
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/ |
FastMethod.java | 19 import java.lang.reflect.Method; 23 FastMethod(FastClass fc, Method method) { 24 super(fc, method, helper(fc, method)); 27 private static int helper(FastClass fc, Method method) { 28 int index = fc.getIndex(method.getName(), method.getParameterTypes()); 30 Class[] types = method.getParameterTypes() [all...] |
/external/mockito/src/org/mockito/invocation/ |
InvocationOnMock.java | 9 import java.lang.reflect.Method; 14 * A placeholder for mock, the method that was called and the arguments that were passed. 26 * returns the method 28 * @return method 30 Method getMethod(); 33 * returns arguments passed to the method 40 * calls real method 44 * @return whatever the real method returns / throws 45 * @throws Throwable in case real method throws
|
/external/junit/src/org/junit/internal/runners/ |
TestClass.java | 5 import java.lang.reflect.Method; 29 public List<Method> getTestMethods() { 33 List<Method> getBefores() { 37 List<Method> getAfters() { 41 public List<Method> getAnnotatedMethods(Class<? extends Annotation> annotationClass) { 42 List<Method> results= new ArrayList<Method>(); 44 Method[] methods= eachClass.getDeclaredMethods(); 45 for (Method eachMethod : methods) { 60 private boolean isShadowed(Method method, List<Method> results) [all...] |
/external/mockito/src/org/mockito/internal/util/ |
ObjectMethodsGuru.java | 11 import java.lang.reflect.Method;
17 public boolean isToString(Method method) {
18 return isToString(new DelegatingMethod(method));
21 public boolean isToString(MockitoMethod method) {
22 return method.getReturnType() == String.class
23 && method.getParameterTypes().length == 0
24 && method.getName().equals("toString");
27 public boolean isEqualsMethod(Method method) {
[all...] |
/external/chromium_org/base/ |
observer_list_threadsafe.h | 59 // An UnboundMethod is a wrapper for a method where the actual object is 61 template <class T, class Method, class Params> 64 UnboundMethod(Method m, const Params& p) : m_(m), p_(p) { 73 Method m_; 170 template <class Method> 171 void Notify(Method m) { 172 UnboundMethod<ObserverType, Method, Tuple0> method(m, MakeTuple()); 173 Notify<Method, Tuple0>(method); [all...] |
/cts/tests/tests/security/src/android/security/cts/ |
KeystoreExploitTest.java | 22 import java.lang.reflect.Method; 29 Method getInstance = keystoreClass.getMethod("getInstance"); 30 Method get = keystoreClass.getMethod("get", String.class);
|
/external/chromium_org/ppapi/host/ |
dispatch_host_message.h | 22 template <class ObjT, class Method> 23 inline int32_t DispatchResourceCall(ObjT* obj, Method method, 26 return (obj->*method)(context); 29 template <class ObjT, class Method, class A> 30 inline int32_t DispatchResourceCall(ObjT* obj, Method method, 33 return (obj->*method)(context, arg.a); 36 template<class ObjT, class Method, class A, class B> 37 inline int32_t DispatchResourceCall(ObjT* obj, Method method [all...] |
/external/javassist/src/main/javassist/compiler/ast/ |
CallExpr.java | 23 * Method call expression. 26 private MemberResolver.Method method; // cached result of lookupMethod() field in class:CallExpr 30 method = null; 33 public void setMethod(MemberResolver.Method m) { 34 method = m; 37 public MemberResolver.Method getMethod() { 38 return method;
|