Home
last modified time | relevance | path

Searched refs:getDeclaredMethod (Results 1 – 25 of 212) sorted by relevance

123456789

/external/volley/src/test/java/com/android/volley/toolbox/
DRequestTest.java49 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/
DJvstTest3.java92 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 …]
DJvstTest.java183 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 …]
DBench.java14 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");
DJvstTest4.java26 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 …]
DJvstTest5.java63 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 …]
DJvstTest2.java23 CtMethod m1 = cc.getDeclaredMethod("foo"); in testInsertAt()
36 CtMethod m2 = cc.getDeclaredMethod("bar2"); in testInsertAt()
48 CtMethod m1 = cc.getDeclaredMethod("foo"); in testInsertLocal()
52 CtMethod m2 = cc.getDeclaredMethod("run2"); in testInsertLocal()
55 CtMethod m3 = cc.getDeclaredMethod("run3"); in testInsertLocal()
158 CtMethod m1 = cc.getDeclaredMethod("foo"); in testSuperCall()
197 CtMethod m = cc2.getDeclaredMethod("foo"); in testReplaceClassName()
203 CtMethod m1 = cc.getDeclaredMethod("run"); in testCodeGen()
426 CtMethod m = cc.getDeclaredMethod("f"); in testSetExceptions()
703 CtMethod m1 = cc.getDeclaredMethod("foo"); in testNewExprTry()
[all …]
/external/caliper/caliper/src/test/java/com/google/caliper/runner/
DBenchmarkClassTest.java38 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()
DRuntimeInstrumentTest.java79 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/jcommander/src/main/java/com/beust/jcommander/internal/
DJDK6Console.java16 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/
DVectorAssistant.java91 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/
DTypeNameTest.java66 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/mockito/src/test/java/org/mockito/
DInvocationFactoryTest.java33 TestClass.class.getDeclaredMethod("testMethod"), in call_method_that_throws_a_throwable()
55 TestClass.class.getDeclaredMethod("testMethod"), in call_method_that_returns_a_string()
71 TestClass.class.getDeclaredMethod("testMethod"), in deprecated_api_still_works()
/external/dexmaker/dexmaker-mockito/src/main/java/com/android/dx/mockito/
DUnsafeAllocator.java60 .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/objenesis/main/src/main/java/org/objenesis/instantiator/perc/
DPercSerializationInstantiator.java58 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/javassist/src/test/javassist/bytecode/
DStackMapTest.java354 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/
DJassist150.java32 CtMethod ccGet = cc.getDeclaredMethod("get"); in implTestClassTailCache()
73 CtMethod ccGet = cc.getDeclaredMethod("get"); in implTestClassTailCache2()
85 CtMethod mth = cc.getDeclaredMethod("buildColumnOverride"); in testJIRA152()
/external/javassist/sample/
DTest.java30 cc.getDeclaredMethod("g"); in main()
37 CtMethod fMethod = cc.getDeclaredMethod("f"); in main()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/
DLocalVariableTypeTableTestCase.java56 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/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VMDebug/
DVMDebugDebuggee.java91 Method isDebuggerConnectedMethod = vmdebug.getDeclaredMethod("isDebuggerConnected"); in run()
92 Method isDebuggingEnabledMethod = vmdebug.getDeclaredMethod("isDebuggingEnabled"); in run()
93 Method lastDebuggerActivityMethod = vmdebug.getDeclaredMethod("lastDebuggerActivity"); in run()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/util/
DClassUtilTest.java79 assertFalse(ClassUtil.isConcrete(ConcreteAndAbstract.class.getDeclaredMethod("a"))); in testIsConcrete()
80 assertTrue(ClassUtil.isConcrete(ConcreteAndAbstract.class.getDeclaredMethod("c"))); in testIsConcrete()
308 … assertFalse(ClassUtil.hasGetterSignature(MaybeGetters.class.getDeclaredMethod("staticMethod"))); in testHasGetterSignature()
309 … assertFalse(ClassUtil.hasGetterSignature(MaybeGetters.class.getDeclaredMethod("voidMethod"))); in testHasGetterSignature()
310 …assertFalse(ClassUtil.hasGetterSignature(MaybeGetters.class.getDeclaredMethod("setMethod", Integer… in testHasGetterSignature()
311 assertTrue(ClassUtil.hasGetterSignature(MaybeGetters.class.getDeclaredMethod("getMethod"))); in testHasGetterSignature()
/external/junit/src/main/java/org/junit/rules/
DTemporaryFolder.java263 …Method createTempDirectoryMethod = filesClass.getDeclaredMethod("createTempDirectory", pathClass, … in createTemporaryFolderWithNioApi()
264 Object parentPath = File.class.getDeclaredMethod("toPath").invoke(parentFolder); in createTemporaryFolderWithNioApi()
267 …Method createTempDirectoryMethod = filesClass.getDeclaredMethod("createTempDirectory", String.clas… in createTemporaryFolderWithNioApi()
270 return (File) pathClass.getDeclaredMethod("toFile").invoke(tempDir); in createTemporaryFolderWithNioApi()
/external/guava/guava-tests/test/com/google/common/reflect/
DTypeParameterTest.java35 TypeParameterTest.class.getDeclaredMethod("testCaptureTypeParameter") in testCaptureTypeParameter()
49 Method method = TypeParameterTest.class.getDeclaredMethod("testEquals"); in testEquals()
/external/guava/android/guava-tests/test/com/google/common/reflect/
DTypeParameterTest.java35 TypeParameterTest.class.getDeclaredMethod("testCaptureTypeParameter") in testCaptureTypeParameter()
49 Method method = TypeParameterTest.class.getDeclaredMethod("testEquals"); in testEquals()
/external/dexmaker/dexmaker-mockito-tests/src/main/java/com/android/dx/mockito/tests/
DBlacklistedApis.java129 View.class.getDeclaredMethod("setNotifyAutofillManagerOnClick", Boolean.TYPE); in cannotCallBlackListedAfterSpying()
141 Settings.Global.class.getDeclaredMethod("isValidZenMode", Integer.TYPE); in callingBlacklistedMethodCausesException()
160 Settings.Global.class.getDeclaredMethod("isValidZenMode", Integer.TYPE); in callingBlacklistedMethodCausesException()

123456789