Home
last modified time | relevance | path

Searched refs:getMethods (Results 1 – 19 of 19) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/reflect/
DMethodOverridesTest.java56 Set<String> signatures = signatures(Sub.class.getMethods()); in testGetMethodsIncludesInheritedMethods()
71 Set<String> signatures = signatures(Sub.class.getMethods()); in testGetMethodsDoesNotIncludeExceptionChanges()
78 Set<String> signatures = signatures(Sub.class.getMethods()); in testGetMethodsIncludesSyntheticMethods()
98 Method[] methods = Sub.class.getMethods(); in testSubclassChangesVisibility()
115 Method[] methods = PublicSub.class.getMethods(); in testMoreVisibleSubclassChangesVisibility()
DOldAndroidClassTest.java145 Method[] methods = ArrayList.class.getMethods(); in testClassGetMethodsNoDupes()
180 Method[] methods = MyInterface.class.getMethods(); in testGetMethodsInterfaces()
183 methods = MyOtherInterface.class.getMethods(); in testGetMethodsInterfaces()
187 methods = MyClass.class.getMethods(); in testGetMethodsInterfaces()
DReflectionTest.java290 Method[] methods = ExtendsImplementsDefinesMember.class.getMethods(); in testGetMethodsViaExtendsThenImplements()
295 Method[] methods = ImplementsExtendsDefinesMember.class.getMethods(); in testGetMethodsViaImplementsThenExtends()
300 Method[] methods = ExtendsAndImplementsDefinesMember.class.getMethods(); in testGetMethodsContainsNoDuplicates()
/libcore/harmony-tests/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
DAnnotationTypeMismatchExceptionTest.java38 Method[] methods = Class.forName("java.lang.String").getMethods(); in test_constructorLjava_lang_reflect_MethodLjava_lang_String()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DClassTest.java381 Method[] m = TestClass.class.getMethods(); in test_getMethods()
383 2 + Object.class.getMethods().length, m.length); in test_getMethods()
384 m = SubTestClass.class.getMethods(); in test_getMethods()
386 2 + Object.class.getMethods().length, m.length); in test_getMethods()
/libcore/luni/src/test/java/libcore/java/lang/
DOldClassTest.java894 Cls2.class.getMethods().length); in test_getMethods()
896 Cls3.class.getMethods().length); in test_getMethods()
899 Method[] methods = Cls2.class.getMethods(); in test_getMethods()
912 methods = Cls3.class.getMethods(); in test_getMethods()
925 methods = Cls3.class.getMethods(); in test_getMethods()
941 Intf5.class.getMethods().length); in test_getMethods()
/libcore/ojluni/src/main/java/java/lang/reflect/
DProxy.java678 List<Method> methods = getMethods(interfaces); in apply()
776 private static List<Method> getMethods(Class<?>[] interfaces) { in getMethods() method in Proxy
/libcore/ojluni/src/test/java/util/Collections/
DWrappers.java129 Method[] methods = Collection.class.getMethods();
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/
DProxy.java67 private static java.util.List<java.lang.reflect.Method> getMethods( in getMethods() method in Proxy
/libcore/ojluni/annotations/mmodule/java/lang/
DClass.annotated.java122 public java.lang.reflect.Method[] getMethods() throws java.lang.SecurityException { throw new Runti… in getMethods() method in Class
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DDefaultMethodStreams.java98 Set<String> dms = Stream.of(s.getMethods()) in verify()
106 Set<String> ims = Stream.of(del.getMethods()) in verify()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DClass.annotated.java121 public java.lang.reflect.@libcore.util.NonNull Method @libcore.util.NonNull [] getMethods() throws … in getMethods() method in Class
/libcore/ojluni/annotations/hiddenapi/java/lang/
DClass.java211 public java.lang.reflect.Method[] getMethods() throws java.lang.SecurityException { in getMethods() method in Class
/libcore/ojluni/src/test/java/util/concurrent/tck/
DSplittableRandomTest.java582 Arrays.stream(java.util.Random.class.getMethods())
DCompletableFutureTest.java4179 .flatMap(klazz -> Stream.of(klazz.getMethods())) in testMinimalCompletionStage_minimality()
4193 List<Method> allMethods = Stream.of(CompletableFuture.class.getMethods()) in testMinimalCompletionStage_minimality()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DMethodTest.java707 Method methods[] = cl.getMethods(); in test_invokeLjava_lang_Object$Ljava_lang_Object()
/libcore/ojluni/src/main/java/java/lang/
DClass.java2217 public Method[] getMethods() throws SecurityException { in getMethods() method in Class
/libcore/jsr166-tests/src/test/java/jsr166/
DCompletableFutureTest.java3744 .flatMap((klazz) -> (Stream<Method>) Stream.of(klazz.getMethods())) in testMinimalCompletionStage_minimality()
3758 List<Method> allMethods = Stream.of(CompletableFuture.class.getMethods()) in testMinimalCompletionStage_minimality()
/libcore/api/
Dcurrent.txt3112 … method @NonNull public java.lang.reflect.Method[] getMethods() throws java.lang.SecurityException;