/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/jmonkeyengine/engine/src/networking/com/jme3/network/rmi/ |
ObjectDef.java | 37 import java.lang.reflect.Method; 56 public Method[] methods; 59 * Method definitions of the implementation. Set to null on
|
/external/replicaisland/src/com/replica/replicaisland/ |
UIConstants.java | 20 import java.lang.reflect.Method; 27 // If this method isn't null, we can use them. 29 public static Method mOverridePendingTransition;
|
/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...] |
JUnit4ClassRunner.java | 5 import java.lang.reflect.Method; 31 private final List<Method> fTestMethods; 40 protected List<Method> getTestMethods() { 60 for (Method method : fTestMethods) 61 invokeTestMethod(method, notifier); 67 List<Method> testMethods= fTestMethods; 68 for (Method method : testMethods) 69 spec.addChild(methodDescription(method)); 126 Method method= iter.next(); local [all...] |
/external/proguard/src/proguard/classfile/attribute/preverification/visitor/ |
StackMapFrameVisitor.java | 35 public void visitSameZeroFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SameZeroFrame sameZeroFrame); 36 public void visitSameOneFrame( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SameOneFrame sameOneFrame); 37 public void visitLessZeroFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, LessZeroFrame lessZeroFrame); 38 public void visitMoreZeroFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, MoreZeroFrame moreZeroFrame); 39 public void visitFullFrame( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, FullFrame fullFrame) [all...] |
/dalvik/vm/interp/ |
Interp.h | 40 void dvmInterpret(Thread* thread, const Method* method, JValue* pResult); 46 * instruction. "method" is the method currently being executed. 48 extern "C" void dvmThrowVerificationError(const Method* method, 62 void dvmAddBreakAddr(Method* method, unsigned int instrOffset); 63 void dvmClearBreakAddr(Method* method, unsigned int instrOffset) [all...] |
InterpDefs.h | 51 Object* dvmGetThisPtr(const Method* method, const u4* fp); 56 void dvmInterpCheckTrackedRefs(Thread* self, const Method* method, 72 * Find an interface method. 74 Method* dvmInterpFindInterfaceMethod(ClassObject* thisClass, u4 methodIdx, 75 const Method* method, DvmDex* methodClassDex);
|
/dalvik/vm/oo/ |
Object.h | 33 struct Method; 52 const Method* method, struct Thread* self); 58 ACC_MIRANDA = 0x8000, // method (internal to VM) 105 * Use the top 16 bits of the access flags field for other method flags. 109 METHOD_ISWRITABLE = (1<<31), // the method's code is writable 113 * Get/set method flags. 115 #define SET_METHOD_FLAG(method, flag) \ 116 do { (method)->accessFlags |= (flag); } while (0) 118 #define CLEAR_METHOD_FLAG(method, flag) [all...] |
/dalvik/vm/analysis/ |
Optimize.h | 31 void dvmUpdateCodeUnit(const Method* meth, u2* ptr, u2 newVal); 39 Method* dvmOptResolveMethod(ClassObject* referrer, u4 methodIdx, 41 Method* dvmOptResolveInterfaceMethod(ClassObject* referrer, u4 methodIdx);
|
/external/apache-harmony/annotation/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/ |
AnnotationTypeMismatchExceptionTest.java | 21 import java.lang.reflect.Method; 33 * @tests java.lang.annotation.AnnotationTypeMismatchException#AnnotationTypeMismatchException(Method, 38 Method[] methods = Class.forName("java.lang.String").getMethods(); 39 Method m = methods[0]; 43 assertSame("wrong method name", m, e.element());
|
/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;
|
/external/proguard/src/proguard/evaluation/ |
InvocationUnit.java | 29 * This interface sets up the variables for entering a method, 37 * Sets up the given variables for entering the given method. 40 Method method, 45 * Exits the given method with the given return value. 48 Method method, 54 * field or method reference instruction. 57 Method method, [all...] |
/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
BoundedGenericMethodsTests.java | 19 import java.lang.reflect.Method; 47 * @param method 48 * the declaring method 50 private void checkBoundedTypeParameter(Method method) { 51 TypeVariable<Method> typeParameter = getTypeParameter(method); 53 assertEquals(method, typeParameter.getGenericDeclaration()); 62 * Tests whether the specified method declares a parameter with the type of 65 * @param method 108 Method method = clazz.getMethod("noParamNoReturn"); local 112 Method method = clazz.getMethod("paramNoReturn", BoundedGenericMethods.class); local 117 Method method = clazz.getMethod("noParamReturn"); local 123 Method method = clazz.getMethod("paramReturn", BoundedGenericMethods.class); local [all...] |
/packages/apps/Music/src/com/android/music/ |
SharedPreferencesCompat.java | 22 import java.lang.reflect.Method; 29 private static final Method sApplyMethod = findApplyMethod(); 31 private static Method findApplyMethod() {
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
MethodOverridesTest.java | 19 import java.lang.reflect.Method; 30 Method method = StringBuilder.class.getMethod("append", char.class); local 31 assertEquals("append", method.getName()); 35 Method method = StringBuilder.class.getMethod("append", char.class); local 37 Arrays.asList(method.getParameterTypes())); 41 Method method = StringBuilder.class.getMethod("append", char.class); local 42 assertEquals(StringBuilder.class, method.getDeclaringClass()) 46 Method method = StringBuilder.class.getMethod("append", char.class); local 51 Method method = StringBuilder.class.getMethod("append", char.class); local 82 Method method = Sub.class.getMethod("returner"); local 92 Method method = Sub.class.getMethod("returner"); local 109 Method method = Sub.class.getMethod("visibility"); local 126 Method method = PublicSub.class.getMethod("unchanged"); local [all...] |
/dalvik/dx/src/com/android/dx/cf/iface/ |
Method.java | 24 public interface Method 28 * Get the <i>effective</i> method descriptor, which includes, if 31 * @return {@code non-null;} the effective method descriptor
|
/external/proguard/src/proguard/classfile/attribute/visitor/ |
ExceptionInfoVisitor.java | 36 public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo);
|
LineNumberInfoVisitor.java | 37 public void visitLineNumberInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LineNumberInfo lineNumberInfo);
|
LocalVariableInfoVisitor.java | 37 public void visitLocalVariableInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableInfo localVariableInfo);
|
LocalVariableTypeInfoVisitor.java | 37 public void visitLocalVariableTypeInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTypeInfo localVariableTypeInfo);
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
Platform.java | 22 import java.lang.reflect.Method; 32 @GwtIncompatible("Class.getMethod, java.lang.reflect.Method") 33 static Method getMethod(Class<?> clazz, String name) {
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
ListHashCodeTester.java | 19 import java.lang.reflect.Method; 41 * Returns the {@link Method} instance for {@link #testHashCode()} so that 45 public static Method getHashCodeMethod() {
|