Searched refs:Sub (Results 1 – 5 of 5) sorted by relevance
56 Set<String> signatures = signatures(Sub.class.getMethods()); in testGetMethodsIncludesInheritedMethods()61 Set<String> signatures = signatures(Sub.class.getDeclaredMethods()); in testGetDeclaredMethodsDoesNotIncludeInheritedMethods()66 assertEquals(Sub.class, Sub.class.getMethod("unchanged").getDeclaringClass()); in testGetDeclaringClassReturnsOverridingClass()67 assertEquals(Sub.class, Sub.class.getDeclaredMethod("unchanged").getDeclaringClass()); in testGetDeclaringClassReturnsOverridingClass()71 Set<String> signatures = signatures(Sub.class.getMethods()); in testGetMethodsDoesNotIncludeExceptionChanges()74 assertEquals(Sub.class, Sub.class.getMethod("thrower").getDeclaringClass()); in testGetMethodsDoesNotIncludeExceptionChanges()78 Set<String> signatures = signatures(Sub.class.getMethods()); in testGetMethodsIncludesSyntheticMethods()82 Method method = Sub.class.getMethod("returner"); in testGetMethodsIncludesSyntheticMethods()83 assertEquals(Sub.class, method.getDeclaringClass()); in testGetMethodsIncludesSyntheticMethods()88 Set<String> signatures = signatures(Sub.class.getDeclaredMethods()); in testGetDeclaredMethodsIncludesSyntheticMethods()[all …]
94 assertEquals(InterfaceA.class, Sub.class.getMethod("a").getDeclaringClass()); in testGetMethodWithPrivateMethodAndInterfaceMethod()145 Method b = Sub.class.getMethod("b"); in testGetMethodReturnsInheritedStaticMethod()156 Sub.class.getDeclaredMethod("a"); in testGetDeclaredMethodDoesNotReturnSuperclassMethods()340 public static abstract class Sub extends Super implements InterfaceA { class in MethodTest
54 public static class Sub { }; class in BasicTest56 Object sub = new Sub();
1018 class Sub implements Subscriber<Boolean> {1032 pub.subscribe(new Sub());
918 // Sub, dup