| /external/apache-commons-lang/src/test/java/org/apache/commons/lang3/function/ |
| D | MethodFixtures.java | 33 …static Method getDeclaredMethod(final String name, final Class<?>... parameterTypes) throws NoSuch… in getDeclaredMethod() method in MethodFixtures 34 return MethodFixtures.class.getDeclaredMethod(name, parameterTypes); in getDeclaredMethod() 38 return getDeclaredMethod("getString"); in getMethodForGetString() 42 return getDeclaredMethod("getString1Arg", String.class); in getMethodForGetString1Arg() 46 return getDeclaredMethod("getString1ArgChecked", String.class); in getMethodForGetString1ArgChecked() 50 return getDeclaredMethod("getString1ArgThrowsChecked", String.class); in getMethodForGetString1ArgThrowsChecked() 54 return getDeclaredMethod("getString1ArgThrowsUnchecked", String.class); in getMethodForGetString1ArgThrowsUnchecked() 58 return getDeclaredMethod("getString2Args", String.class, String.class); in getMethodForGetString2Arg() 62 return getDeclaredMethod("getStringChecked"); in getMethodForGetStringChecked() 66 return getDeclaredMethod("getStringArrayVarStringArgs", String[].class); in getMethodForGetStringsVarArg() [all …]
|
| /external/volley/core/src/test/java/com/android/volley/toolbox/ |
| D | RequestTest.java | 49 assertNotNull(Request.class.getDeclaredMethod("finish", String.class)); in publicMethods() 60 assertNotNull(Request.class.getDeclaredMethod("getParams")); in publicMethods() 61 assertNotNull(Request.class.getDeclaredMethod("getParamsEncoding")); in publicMethods() 72 Request.class.getDeclaredMethod("parseNetworkResponse", NetworkResponse.class)); in publicMethods() 73 assertNotNull(Request.class.getDeclaredMethod("parseNetworkError", VolleyError.class)); in publicMethods() 74 assertNotNull(Request.class.getDeclaredMethod("deliverResponse", Object.class)); in publicMethods()
|
| /external/javassist/src/test/javassist/ |
| D | JvstTest3.java | 92 all = cc.getDeclaredMethod("foo").getAnnotations(); in testAnnotation5() 147 CtMethod m1 = cc.getDeclaredMethod("test"); in testInnerClassMethod() 181 CtMethod m1 = cc.getDeclaredMethod("run"); in testReplaceNew() 188 CtMethod m2 = cc.getDeclaredMethod("run2"); in testReplaceNew() 351 CtMethod m1 = cc.getDeclaredMethod("run"); in testRecursiveReplace() 368 CtMethod m2 = cc.getDeclaredMethod("run2"); in testRecursiveReplace() 404 CtMethod m1 = cc.getDeclaredMethod("run"); in testRecursiveReplace2() 407 CtMethod m2 = cc.getDeclaredMethod("run2"); in testRecursiveReplace2() 441 CtMethod m1 = cc.getDeclaredMethod("access"); in testFieldAccessType() 474 Object[][] anno = cc.getDeclaredMethod("foo").getParameterAnnotations(); in testGetParmeterAnnotations() [all …]
|
| D | JvstTest.java | 183 CtMethod m1 = cc.getDeclaredMethod("m1"); in testCalleeBefore() 185 CtMethod m2 = cc.getDeclaredMethod("m2"); in testCalleeBefore() 218 CtMethod m1 = cc.getDeclaredMethod("m1"); in testCalleeAfter() 221 CtMethod m2 = cc.getDeclaredMethod("m2"); in testCalleeAfter() 235 CtMethod m1 = cc.getDeclaredMethod("m1"); in testCalleeAfter2() 238 CtMethod m2 = cc.getDeclaredMethod("m2"); in testCalleeAfter2() 241 CtMethod m3 = cc.getDeclaredMethod("m3"); in testCalleeAfter2() 244 CtMethod m4 = cc.getDeclaredMethod("m4"); in testCalleeAfter2() 252 CtMethod m5 = cc.getDeclaredMethod("m5"); in testCalleeAfter2() 262 CtMethod m1 = cc.getDeclaredMethod("m1"); in testCalleeAfter3() [all …]
|
| D | Bench.java | 14 CtMethod m1 = cc.getDeclaredMethod("p"); in testProceed() 22 CtMethod m2 = cc.getDeclaredMethod("q"); in testProceed() 30 CtMethod m3 = cc.getDeclaredMethod("s"); in testProceed() 42 CtMethod m4 = cc.getDeclaredMethod("t"); in testProceed() 68 CtMethod m1 = cc.getDeclaredMethod("jvst0"); 75 CtMethod m2 = cc.getDeclaredMethod("jvst2"); 94 CtMethod m1 = cc.getDeclaredMethod("test");
|
| D | JvstTest4.java | 26 CtMethod m1 = cc.getDeclaredMethod("run"); in testInsertLocalVars() 29 CtMethod m2 = cc.getDeclaredMethod("run2"); in testInsertLocalVars() 41 CtMethod m1 = cc.getDeclaredMethod("m1"); in testCodeConv() 42 CtMethod m2 = cc.getDeclaredMethod("m2"); in testCodeConv() 43 CtMethod m3 = cc.getDeclaredMethod("m3"); in testCodeConv() 57 CtMethod run = cc.getDeclaredMethod("run"); in testCodeConv2() 77 CtMethod m1 = cc.getDeclaredMethod("run"); in testInsGap() 79 CtMethod m2 = cc.getDeclaredMethod("run2"); in testInsGap() 82 final CtMethod m3 = cc.getDeclaredMethod("run3"); in testInsGap() 104 CtMethod m1 = cc.getDeclaredMethod("foo"); in testAnnotationCheck() [all …]
|
| D | JvstTest5.java | 63 CtMethod testMethod = cc.getDeclaredMethod("test"); in testJIRA241() 88 CtMethod m = cc.getDeclaredMethod("say"); in testJIRA242() 110 CtMethod testMethod = cc.getDeclaredMethod("test"); in testJIRA249() 194 CtMethod mth = cc.getDeclaredMethod("bar"); in testProceedToDefaultMethod() 232 final CtMethod method = ctClass.getDeclaredMethod("bytecodeVerifyError"); in test83StackmapWithArrayType() 236 final CtMethod method2 = ctClass.getDeclaredMethod("bytecodeVerifyError2"); in test83StackmapWithArrayType() 276 CtMethod foo = cc.getDeclaredMethod("foo"); in testRemoveAnnotatino() 280 CtMethod bar = cc.getDeclaredMethod("bar"); in testRemoveAnnotatino() 287 CtMethod run = cc.getDeclaredMethod("run"); in testRemoveAnnotatino() 402 assertTrue(Modifier.isVarArgs(cc.getDeclaredMethod("foo").getModifiers())); in testVarArgsModifier() [all …]
|
| /external/dagger2/javatests/dagger/internal/codegen/ |
| D | XTypesToStableStringTest.java | 76 XMethodElement method = getDeclaredMethod(typeElement, "foo"); in simpleTypeTest() 84 XMethodElement method = getDeclaredMethod(typeElement, "parameterizedType"); in parameterizedTypeTest() 92 XMethodElement method = getDeclaredMethod(typeElement, "parameterizedTypeWithWildcard"); in parameterizedTypeWithWildcardTest() 100 XMethodElement method = getDeclaredMethod(typeElement, "parameterizedTypeWithTypeVariable"); in parameterizedTypeWithTypeVariableTest() 108 XMethodElement method = getDeclaredMethod(typeElement, "parameterizedTypeWithSelfReference"); in parameterizedTypeWithSelfReferenceTest() 116 XMethodElement method = getDeclaredMethod(typeElement, "multiParameterizedType"); in multiParameterizedTypeTest() 124 private XMethodElement getDeclaredMethod(XTypeElement typeElement, String methodName) { in getDeclaredMethod() method in XTypesToStableStringTest
|
| D | XTypesStripTypeNameTest.java | 161 getDeclaredMethod(subject, "method1").getReturnType().getTypeName(); in typeVariableSameVariableName() 163 getDeclaredMethod(subject, "method2").getReturnType().getTypeName(); in typeVariableSameVariableName() 174 getDeclaredMethod(subject, "method").getReturnType().getTypeName(); in assertStrippedWildcardTypeNameEquals() 181 private static XMethodElement getDeclaredMethod(XTypeElement typeElement, String jvmName) { in getDeclaredMethod() method in XTypesStripTypeNameTest
|
| /external/caliper/caliper/src/test/java/com/google/caliper/runner/ |
| D | BenchmarkClassTest.java | 38 MyBenchmark.class.getDeclaredMethod("before1"), in beforeMeasurementMethods_AnnotatedBenchmark() 39 MyBenchmark.class.getDeclaredMethod("before2")), in beforeMeasurementMethods_AnnotatedBenchmark() 46 MyBenchmark.class.getDeclaredMethod("after1"), in afterMeasurementMethods_AnnotatedBenchmark() 47 MyBenchmark.class.getDeclaredMethod("after2")), in afterMeasurementMethods_AnnotatedBenchmark()
|
| D | RuntimeInstrumentTest.java | 79 Method benchmarkMethod = RuntimeBenchmark.class.getDeclaredMethod("macrobenchmark"); in createInstrumentation_macrobenchmark() 87 Method benchmarkMethod = RuntimeBenchmark.class.getDeclaredMethod("microbenchmark", int.class); in createInstrumentation_microbenchmark() 95 Method benchmarkMethod = RuntimeBenchmark.class.getDeclaredMethod("picobenchmark", long.class); in createInstrumentation_picobenchmark() 104 RuntimeBenchmark.class.getDeclaredMethod("integerParam", Integer.class); in createInstrumentation_badParam() 112 Method benchmarkMethod = RuntimeBenchmark.class.getDeclaredMethod("notAMacrobenchmark"); in createInstrumentation_notAMacrobenchmark() 121 RuntimeBenchmark.class.getDeclaredMethod("notAMicrobenchmark", int.class); in createInstrumentationnotAMicrobenchmark() 130 RuntimeBenchmark.class.getDeclaredMethod("notAPicobenchmark", long.class); in createInstrumentation_notAPicobenchmark()
|
| /external/kotlinpoet/kotlinpoet/src/jvmTest/java/com/squareup/kotlinpoet/ |
| D | TypeNameTest.java | 66 Method recursiveEnum = getClass().getDeclaredMethod("generic", Enum[].class); in genericType() 77 Method genericStringInner = getClass().getDeclaredMethod("testGenericStringInner"); in innerClassInGenericType() 81 TypeNames.get(getClass().getDeclaredMethod("testGenericIntInner").getGenericReturnType())); in innerClassInGenericType() 89 Method genericStringInner = getClass().getDeclaredMethod("testGenericInnerLong"); in innerGenericInGenericType() 93 TypeNames.get(getClass().getDeclaredMethod("testGenericInnerInt").getGenericReturnType())); in innerGenericInGenericType() 101 Method staticInGeneric = getClass().getDeclaredMethod("testNestedNonGeneric"); in innerStaticInGenericType()
|
| /external/jcommander/src/main/java/com/beust/jcommander/internal/ |
| D | JDK6Console.java | 16 Method writerMethod = console.getClass().getDeclaredMethod("writer"); in JDK6Console() 33 method = console.getClass().getDeclaredMethod("readLine"); in readPassword() 36 method = console.getClass().getDeclaredMethod("readPassword"); in readPassword()
|
| /external/javassist/sample/vector/ |
| D | VectorAssistant.java | 91 CtMethod addmethod = c.getDeclaredMethod("add"); in makeSubclass() 92 CtMethod atmethod = c.getDeclaredMethod("at"); in makeSubclass() 116 CtMethod addmethod = c.getDeclaredMethod("add"); in makeSubclass2() 117 CtMethod atmethod = c.getDeclaredMethod("at"); in makeSubclass2()
|
| /external/javapoet/src/test/java/com/squareup/javapoet/ |
| D | TypeNameTest.java | 66 Method recursiveEnum = getClass().getDeclaredMethod("generic", Enum[].class); in genericType() 77 Method genericStringInner = getClass().getDeclaredMethod("testGenericStringInner"); in innerClassInGenericType() 81 TypeName.get(getClass().getDeclaredMethod("testGenericIntInner").getGenericReturnType())); in innerClassInGenericType() 89 Method genericStringInner = getClass().getDeclaredMethod("testGenericInnerLong"); in innerGenericInGenericType() 93 TypeName.get(getClass().getDeclaredMethod("testGenericInnerInt").getGenericReturnType())); in innerGenericInGenericType() 101 Method staticInGeneric = getClass().getDeclaredMethod("testNestedNonGeneric"); in innerStaticInGenericType()
|
| /external/objenesis/main/src/main/java/org/objenesis/instantiator/perc/ |
| D | PercSerializationInstantiator.java | 58 newInstanceMethod = ObjectInputStream.class.getDeclaredMethod("noArgConstruct", in PercSerializationInstantiator() 64 Method getPercClassMethod = percClassClass.getDeclaredMethod("getPercClass", Class.class); in PercSerializationInstantiator() 66 Method findMethodMethod = someObject.getClass().getDeclaredMethod("findMethod", in PercSerializationInstantiator()
|
| /external/dexmaker/dexmaker-mockito/src/main/java/com/android/dx/mockito/ |
| D | UnsafeAllocator.java | 60 .getDeclaredMethod("newInstance", Class.class, Class.class); in create() 79 .getDeclaredMethod("getConstructorId", Class.class); in create() 83 .getDeclaredMethod("newInstance", Class.class, int.class); in create()
|
| /external/cronet/stable/base/test/android/javatests/src/org/chromium/base/test/util/ |
| D | TestAnimations.java | 124 windowManagerStubClazz.getDeclaredMethod("asInterface", IBinder.class); in setViaReflection() 127 serviceManagerClazz.getDeclaredMethod("getService", String.class); in setViaReflection() 130 windowManagerClazz.getDeclaredMethod("setAnimationScales", float[].class); in setViaReflection() 132 windowManagerClazz.getDeclaredMethod("getAnimationScales"); in setViaReflection()
|
| /external/cronet/tot/base/test/android/javatests/src/org/chromium/base/test/util/ |
| D | TestAnimations.java | 124 windowManagerStubClazz.getDeclaredMethod("asInterface", IBinder.class); in setViaReflection() 127 serviceManagerClazz.getDeclaredMethod("getService", String.class); in setViaReflection() 130 windowManagerClazz.getDeclaredMethod("setAnimationScales", float[].class); in setViaReflection() 132 windowManagerClazz.getDeclaredMethod("getAnimationScales"); in setViaReflection()
|
| /external/gson/gson/src/main/java/com/google/gson/internal/ |
| D | UnsafeAllocator.java | 76 .getDeclaredMethod("getConstructorId", Class.class); in create() 80 .getDeclaredMethod("newInstance", Class.class, int.class); in create() 100 .getDeclaredMethod("newInstance", Class.class, Class.class); in create()
|
| /external/javassist/src/test/javassist/bytecode/ |
| D | StackMapTest.java | 354 cc.getDeclaredMethod("foo").insertBefore(sbuf.toString()); in testSwitchCase() 355 …cc.getDeclaredMethod("test2").setBody(loader.get("javassist.bytecode.StackMapTest$T8").getDeclared… in testSwitchCase() 394 cc.getDeclaredMethod("foo").insertBefore(sbuf.toString()); in testSwitchCase2() 395 …cc.getDeclaredMethod("test2").setBody(loader.get("javassist.bytecode.StackMapTest$T8b").getDeclare… in testSwitchCase2() 434 cc.getDeclaredMethod("foo").insertBefore(sbuf.toString()); in testSwitchCase3() 435 …cc.getDeclaredMethod("test2").setBody(loader.get("javassist.bytecode.StackMapTest$T8c").getDeclare… in testSwitchCase3() 483 cc.getDeclaredMethod("foo").insertBefore(sbuf.toString()); in testSwitchCase4() 485 CtMethod origM = orig.getDeclaredMethod("test2"); in testSwitchCase4() 487 cc.getDeclaredMethod("test2").setBody(origM, null); in testSwitchCase4() 629 MethodInfo mi = cc.getDeclaredMethod("foo").getMethodInfo(); in testConstructor3() [all …]
|
| /external/javassist/src/test/ |
| D | Jassist150.java | 32 CtMethod ccGet = cc.getDeclaredMethod("get"); in implTestClassTailCache() 73 CtMethod ccGet = cc.getDeclaredMethod("get"); in implTestClassTailCache2() 85 CtMethod mth = cc.getDeclaredMethod("buildColumnOverride"); in testJIRA152()
|
| /external/apache-commons-bcel/src/test/java/org/apache/bcel/ |
| D | LocalVariableTypeTableTestCase.java | 56 java.lang.reflect.Method method = cls.getDeclaredMethod("a", String.class, List.class); in testWithGenericArguement() 58 method = cls.getDeclaredMethod("b", String.class, List.class); in testWithGenericArguement() 60 method = cls.getDeclaredMethod("c", String.class, String.class); in testWithGenericArguement() 62 method = cls.getDeclaredMethod("d", List.class, String.class); in testWithGenericArguement()
|
| /external/javassist/sample/ |
| D | Test.java | 30 cc.getDeclaredMethod("g"); in main() 37 CtMethod fMethod = cc.getDeclaredMethod("f"); in main()
|
| /external/moshi/moshi/src/main/java/com/squareup/moshi/ |
| D | ClassFactory.java | 95 ObjectStreamClass.class.getDeclaredMethod("getConstructorId", Class.class); in get() 99 ObjectStreamClass.class.getDeclaredMethod("newInstance", Class.class, int.class); in get() 128 ObjectInputStream.class.getDeclaredMethod("newInstance", Class.class, Class.class); in get()
|