/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
D | MethodTest.java | 259 Method m1 = TestMethod.class.getDeclaredMethod("invokeInstanceTest", new Class[0]); in test_getDeclaredMethod() 260 Method m2 = TestMethod.class.getDeclaredMethod("invokeInstanceTest", (Class[]) null); in test_getDeclaredMethod() 345 mth = cl.getDeclaredMethod("prstatic", new Class[0]); in test_getModifiers() 353 mth = cl.getDeclaredMethod("pustatsynch", new Class[0]); in test_getModifiers() 361 mth = cl.getDeclaredMethod("pustatsynchnat", new Class[0]); in test_getModifiers() 371 mth = cl.getDeclaredMethod("puabs", new Class[0]); in test_getModifiers() 415 mth = TestMethod.class.getDeclaredMethod("publicVoidArray", in test_isVarArgs() 476 Method method = TestMethod.class.getDeclaredMethod( in test_getParameterAnnotations() 514 Method method = TestMethod.class.getDeclaredMethod("annotatedMethod"); in test_getDeclaredAnnotations() 537 Method method = TestAnno.class.getDeclaredMethod("value"); in test_getDefaultValue() [all …]
|
D | InvocationTargetExceptionTest.java | 152 Method mth = TestMethod.class.getDeclaredMethod( in test_ConstructorLjava_lang_Throwable() 180 Method mth = TestMethod.class.getDeclaredMethod( in test_ConstructorLjava_lang_ThrowableLjava_lang_String() 207 Method mth = TestMethod.class.getDeclaredMethod( in test_getTargetException() 234 Method mth = TestMethod.class.getDeclaredMethod( in test_getCause()
|
D | TypeVariableTest.java | 66 Method method = clazz.getDeclaredMethod("b"); in testSimpleTypeVariableOnMethod() 146 Method method = clazz.getDeclaredMethod("e"); in testMultipleTypeVariablesOnMethod()
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | OldGenericTypesTest.java | 97 Method method = clazz.getDeclaredMethod("staticMethodGenericType", Object.class); in testStaticMethodGenericType() 116 Method method = clazz.getDeclaredMethod("hidingMethodGenericType", Object.class); in testHidingMethodGenericType() 150 …Method multipleGenericTypesT = clazz.getDeclaredMethod("multipleGenericTypesT", new Class[]{Object… in testMultipleGenericTypes() 157 …Method multipleGenericTypesS = clazz.getDeclaredMethod("multipleGenericTypesS", new Class[]{Object… in testMultipleGenericTypes() 164 …Method multipleGenericTypesTS = clazz.getDeclaredMethod("multipleGenericTypesTS", new Class[]{Obje… in testMultipleGenericTypes() 252 Method declaredMethods = innerClazz.getDeclaredMethod("innerMethod", Object.class); in testInnerClassTest() 270 Method method = clazz.getDeclaredMethod("exceptionTest"); in testException() 281 Method declaredMethods = innerClazz.getDeclaredMethod("innerExceptionTest"); in testException()
|
D | OldGenericReflectionCornerCases.java | 62 Method method = clazz.getDeclaredMethod("wildcardEquality", Pair.class); in testWildcardEquality() 119 Method method = clazz.getDeclaredMethod("wildcardUnEquality", Pair.class); in testWildcardUnEquality() 179 Method method = clazz.getDeclaredMethod("multipleBoundedWildcardUnEquality", Pair.class); in testMultipleBoundedWildcardUnEquality() 246 Method method = clazz.getDeclaredMethod("multipleBoundedWildcardEquality", Pair.class); in testMultipleBoundedWildcard()
|
D | ClassLoaderReflectionTest.java | 119 Method method = fClass.getDeclaredMethod("method", bClass, List.class); in testMethodGenericReturnType() 124 Method method = fClass.getDeclaredMethod("method", bClass, List.class); in testMethodGenericParameterTypes()
|
D | MethodOverridesTest.java | 67 assertEquals(Sub.class, Sub.class.getDeclaredMethod("unchanged").getDeclaringClass()); in testGetDeclaringClassReturnsOverridingClass()
|
/libcore/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/ |
D | AnnotationTest.java | 45 .getDeclaredMethod("a", new Class[] {}); in test_equals() 47 .getDeclaredMethod("b", new Class[] {}); in test_equals() 66 mlist.add(AnnotatedClass.class.getDeclaredMethod(name, new Class[] {})); in test_equals() 107 Method m1 = AnnotatedClass.class.getDeclaredMethod("e34c", new Class[] {}); in test_hashCode() 123 Method m2 = AnnotatedClass3.class.getDeclaredMethod("a", new Class[] {}); in test_hashCode()
|
/libcore/luni/src/main/java/java/nio/channels/spi/ |
D | AbstractInterruptibleChannel.java | 50 return Thread.class.getDeclaredMethod(
|
/libcore/luni/src/main/java/java/lang/ |
D | Thread.java | 448 getClass().getDeclaredMethod("getContextClassLoader", signature); in create() 455 getClass().getDeclaredMethod("setContextClassLoader", signature); in create()
|
D | Class.java | 726 public Method getDeclaredMethod(String name, Class<?>... parameterTypes) in getDeclaredMethod() method in Class
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
D | ClassTest.java | 1018 Method m = TestClass.class.getDeclaredMethod("pubMethod", new Class[0]); in test_getDeclaredMethodLjava_lang_String$Ljava_lang_Class() 1021 m = TestClass.class.getDeclaredMethod("privMethod", new Class[0]); in test_getDeclaredMethodLjava_lang_String$Ljava_lang_Class() 1024 TestClass.class.getDeclaredMethod(null, new Class[0]); in test_getDeclaredMethodLjava_lang_String$Ljava_lang_Class() 1031 TestClass.class.getDeclaredMethod("NonExistentMethod", new Class[0]); in test_getDeclaredMethodLjava_lang_String$Ljava_lang_Class()
|
/libcore/luni/src/main/java/java/io/ |
D | ObjectStreamClass.java | 1004 method = search.getDeclaredMethod(methodName, (Class[]) null); in findMethod() 1030 Method method = cl.getDeclaredMethod(methodName, param); in findPrivateMethod()
|
/libcore/luni/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
D | DriverManagerTest.java | 126 Method theMethod = driverClass.getDeclaredMethod("setDriver", in testDeregisterDriver()
|