/external/testng/src/test/java/test/annotationtransformer/ |
FactoryTransformer.java | 10 import java.lang.reflect.Method; 16 Constructor testConstructor, Method testMethod) 21 public void transform(IDataProviderAnnotation annotation, Method testMethod) { 26 Constructor testConstructor, Method testMethod) 31 public void transform(IFactoryAnnotation annotation, Method testMethod) {
|
MyListenerTransformer.java | 11 import java.lang.reflect.Method; 22 Constructor testConstructor, Method testMethod) {} 25 public void transform(IDataProviderAnnotation annotation, Method method) {} 28 public void transform(IFactoryAnnotation annotation, Method method) {} 32 Method testMethod) {}
|
/external/vogar/src/junit/framework/ |
TestCase.java | 21 import java.lang.reflect.Method; 25 private static final Method runTest; 36 private Method method; field in class:TestCase 54 public final void setMethod(Method method) { 55 this.method = method; 56 this.name = method.getName(); 59 public final Method getMethod() [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/worker/ |
Worker.java | 23 import java.lang.reflect.Method; 33 ImmutableSet<Method> beforeExperimentMethods; 37 ImmutableSet<Method> afterExperimentMethods; 39 protected final Method benchmarkMethod; 42 protected Worker(Object benchmark, Method method) { 44 this.benchmarkMethod = method; 49 for (Method method : beforeExperimentMethods) { 50 method.invoke(benchmark) [all...] |
/external/proguard/src/proguard/classfile/attribute/annotation/target/visitor/ |
TargetInfoVisitor.java | 37 public void visitTypeParameterTargetInfo( Clazz clazz, Method method, TypeAnnotation typeAnnotation, TypeParameterTargetInfo typeParameterTargetInfo); 41 public void visitTypeParameterBoundTargetInfo(Clazz clazz, Method method, TypeAnnotation typeAnnotation, TypeParameterBoundTargetInfo typeParameterBoundTargetInfo); 43 public void visitEmptyTargetInfo( Clazz clazz, Method method, TypeAnnotation typeAnnotation, EmptyTargetInfo emptyTargetInfo); 44 public void visitFormalParameterTargetInfo( Clazz clazz, Method method, TypeAnnotation typeAnnotation, FormalParameterTargetInfo formalParameterTargetInfo); 45 public void visitThrowsTargetInfo( Clazz clazz, Method method, TypeAnnotation typeAnnotation, ThrowsTargetInfo throwsTa (…) [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/reflection/ |
ReflectionClassDef.java | 44 import org.jf.dexlib2.iface.Method; 166 @Nonnull @Override public Iterable<? extends Method> getDirectMethods() { 167 return new Iterable<Method>() { 168 @Nonnull @Override public Iterator<Method> iterator() { 169 Iterator<Method> constructorIterator = 171 new Function<Constructor, Method>() { 172 @Nullable @Override public Method apply(@Nullable Constructor input) { 177 Iterator<java.lang.reflect.Method> directMethods = Iterators.filter( 179 new Predicate<java.lang.reflect.Method>() { 180 @Override public boolean apply(@Nullable java.lang.reflect.Method input) [all...] |
/art/test/472-unreachable-if-regression/src/ |
Main.java | 17 import java.lang.reflect.Method; 28 Method unreachableIf = c.getMethod("UnreachableIf", (Class[]) null); 32 Method unreachablePackedSwitch = c.getMethod("UnreachablePackedSwitch", (Class[]) null);
|
/art/test/565-checker-irreducible-loop/src/ |
Main.java | 17 import java.lang.reflect.Method; 26 Method m = c.getMethod("test1", int.class, long.class); 32 Method m = c.getMethod("test2", int.class, long.class);
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
PutOverflowTest.java | 20 import java.lang.reflect.Method; 26 Method getInstance = keystoreClass.getMethod("getInstance"); 27 Method put = keystoreClass.getMethod("put",
|
/cts/tests/tests/security/src/android/security/cts/ |
PutOverflowTest.java | 20 import java.lang.reflect.Method; 26 Method getInstance = keystoreClass.getMethod("getInstance"); 27 Method put = keystoreClass.getMethod("put",
|
/external/guava/guava-tests/test/com/google/common/eventbus/ |
EventSubscriberTest.java | 24 import java.lang.reflect.Method; 46 * Checks that a no-frills, no-issues method call is properly executed. 51 Method method = getRecordingMethod(); local 53 EventSubscriber subscriber = new EventSubscriber(this, method); 57 assertTrue("Subscriber must call provided method.", methodCalled); 63 Method method = getExceptionThrowingMethod(); local 64 EventSubscriber subscriber = new EventSubscriber(this, method); 76 Method method = getErrorThrowingMethod() local 108 Method method; local 131 Method method; local 154 Method method; local [all...] |
PackageSanityTests.java | 21 import java.lang.reflect.Method; 35 setDefault(Method.class, DummySubscriber.subscriberMethod()); 47 private static Method subscriberMethod() throws NoSuchMethodException {
|
/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/classfile/attribute/annotation/visitor/ |
AnnotationVisitor.java | 39 public void visitAnnotation(Clazz clazz, Method method, Annotation annotation); 40 public void visitAnnotation(Clazz clazz, Method method, int parameterIndex, Annotation annotation); 41 public void visitAnnotation(Clazz clazz, Method method, CodeAttribute codeAttribute, Annotation annotation);
|
/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...] |
/external/testng/src/main/java/org/testng/junit/ |
JUnit3TestMethod.java | 3 import java.lang.reflect.Method; 17 private static Method getMethod(Test t) { 20 Method nameMethod = t.getClass().getMethod("getName"); 25 "Method '" + name + "' not found in class '" + t + "': " + th.getMessage());
|
JUnit3TestRecognizer.java | 3 import java.lang.reflect.Method; 17 //class implementing junit.framework.Test with at least one test* method 20 for (Method m : c.getMethods()) { 31 //or a class with public static Test suite() method 32 Method m = c.getDeclaredMethod("suite");
|
JUnitTestMethod.java | 3 import java.lang.reflect.Method; 14 protected JUnitTestMethod(JUnitTestClass owner, Method method, Object instance) { 15 this(owner, method.getName(), method, instance); 18 protected JUnitTestMethod(JUnitTestClass owner, String methodName, Method method, Object instance) { 19 super(methodName, method, null, instance);
|
/external/testng/src/test/java/test/inject/ |
NoInjectionTest.java | 8 import java.lang.reflect.Method; 23 public void withoutInjection(@NoInjection Method m) { 28 public void withInjection(Method m) {
|
/libcore/harmony-tests/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());
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/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() {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
LocaleListCompatUtils.java | 19 import java.lang.reflect.Method; 24 private static final Method METHOD_get = 26 private static final Method METHOD_isEmpty =
|
/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...] |
/art/test/511-clinit-interface/src/ |
Main.java | 17 import java.lang.reflect.Method; 26 public static void method() { method in class:Main
|