Searched refs:getGenericSuperclass (Results 1 – 12 of 12) sorted by relevance
/libcore/luni/src/test/java/libcore/java/lang/ |
D | ClassTest.java | 55 assertNull(Foo.class.getGenericSuperclass()); in test_getGenericSuperclass_nullReturnCases() 56 assertNull(ParameterizedFoo.class.getGenericSuperclass()); in test_getGenericSuperclass_nullReturnCases() 57 assertNull(ParameterizedBar.class.getGenericSuperclass()); in test_getGenericSuperclass_nullReturnCases() 58 assertNull(ParameterizedBaz.class.getGenericSuperclass()); in test_getGenericSuperclass_nullReturnCases() 60 assertNull(Object.class.getGenericSuperclass()); in test_getGenericSuperclass_nullReturnCases() 61 assertNull(void.class.getGenericSuperclass()); in test_getGenericSuperclass_nullReturnCases() 62 assertNull(int.class.getGenericSuperclass()); in test_getGenericSuperclass_nullReturnCases() 66 assertSame(Object.class, (new Integer[0]).getClass().getGenericSuperclass()); in test_getGenericSuperclass_returnsObjectForArrays()
|
D | OldClassTest.java | 452 ExtendTestClass.class.getGenericSuperclass()); in test_getGenericSuperclass() 454 ExtendTestClass1.class.getGenericSuperclass()); in test_getGenericSuperclass() 455 assertEquals(Object.class, PublicTestClass.class.getGenericSuperclass()); in test_getGenericSuperclass() 456 assertEquals(Object.class, String.class.getGenericSuperclass()); in test_getGenericSuperclass() 457 assertEquals(null, TestInterface.class.getGenericSuperclass()); in test_getGenericSuperclass() 459 ParameterizedType type = (ParameterizedType) Vector.class.getGenericSuperclass(); in test_getGenericSuperclass()
|
D | LambdaImplementationTest.java | 374 assertSame(Object.class, lambdaClass.getGenericSuperclass()); in assertGeneralLambdaClassCharacteristics()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | ParameterizedTypeTest.java | 33 Type genericSuperclass = clazz.getGenericSuperclass(); in testStringParameterizedSuperClass() 54 Type genericSuperclass = clazz.getGenericSuperclass(); in testTypeParameterizedSuperClass()
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ClassLoaderReflectionTest.java | 78 assertParameterizedType(aListClass.getGenericSuperclass(), ArrayList.class, aClass); in testGenericSuperclassParameter() 82 assertParameterizedType(bStringClass.getGenericSuperclass(), bClass, String.class); in testGenericSuperclassRawType()
|
D | OldGenericTypesTest.java | 166 assertInstanceOf(ParameterizedType.class, clazz.getGenericSuperclass()); in testSimpleInheritance() 167 ParameterizedType parameterizedSuperType = (ParameterizedType) clazz.getGenericSuperclass(); in testSimpleInheritance()
|
D | ReflectionTest.java | 74 AList.class.getGenericSuperclass().toString()); in testGenericSuperclassToString()
|
/libcore/luni/src/test/java/libcore/libcore/reflect/ |
D | ParameterizedTypeRegressionTest.java | 212 return ((ParameterizedType) parameterizedClass.getGenericSuperclass()) in getArgumentType()
|
/libcore/ojluni/annotations/mmodule/java/lang/ |
D | Class.annotated.java | 82 public java.lang.reflect.Type getGenericSuperclass() { throw new RuntimeException("Stub!"); } in getGenericSuperclass() method in Class
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Class.annotated.java | 80 @libcore.util.Nullable public java.lang.reflect.Type getGenericSuperclass() { throw new RuntimeExce… in getGenericSuperclass() method in Class
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Class.java | 119 public java.lang.reflect.Type getGenericSuperclass() { in getGenericSuperclass() method in Class
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Class.java | 864 public Type getGenericSuperclass() { in getGenericSuperclass() method in Class
|