Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/tests/api/java/lang/reflect/
DMethodTest.java259 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 …]
DInvocationTargetExceptionTest.java152 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()
DTypeVariableTest.java66 Method method = clazz.getDeclaredMethod("b"); in testSimpleTypeVariableOnMethod()
146 Method method = clazz.getDeclaredMethod("e"); in testMultipleTypeVariablesOnMethod()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DOldGenericTypesTest.java97 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()
DOldGenericReflectionCornerCases.java62 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()
DClassLoaderReflectionTest.java119 Method method = fClass.getDeclaredMethod("method", bClass, List.class); in testMethodGenericReturnType()
124 Method method = fClass.getDeclaredMethod("method", bClass, List.class); in testMethodGenericParameterTypes()
DMethodOverridesTest.java67 assertEquals(Sub.class, Sub.class.getDeclaredMethod("unchanged").getDeclaringClass()); in testGetDeclaringClassReturnsOverridingClass()
/libcore/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
DAnnotationTest.java45 .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/
DAbstractInterruptibleChannel.java50 return Thread.class.getDeclaredMethod(
/libcore/luni/src/main/java/java/lang/
DThread.java448 getClass().getDeclaredMethod("getContextClassLoader", signature); in create()
455 getClass().getDeclaredMethod("setContextClassLoader", signature); in create()
DClass.java726 public Method getDeclaredMethod(String name, Class<?>... parameterTypes) in getDeclaredMethod() method in Class
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
DClassTest.java1018 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/
DObjectStreamClass.java1004 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/
DDriverManagerTest.java126 Method theMethod = driverClass.getDeclaredMethod("setDriver", in testDeregisterDriver()