Home
last modified time | relevance | path

Searched refs:getGenericSuperclass (Results 1 – 12 of 12) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/
DClassTest.java55 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()
DOldClassTest.java452 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()
DLambdaImplementationTest.java374 assertSame(Object.class, lambdaClass.getGenericSuperclass()); in assertGeneralLambdaClassCharacteristics()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DParameterizedTypeTest.java33 Type genericSuperclass = clazz.getGenericSuperclass(); in testStringParameterizedSuperClass()
54 Type genericSuperclass = clazz.getGenericSuperclass(); in testTypeParameterizedSuperClass()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DClassLoaderReflectionTest.java78 assertParameterizedType(aListClass.getGenericSuperclass(), ArrayList.class, aClass); in testGenericSuperclassParameter()
82 assertParameterizedType(bStringClass.getGenericSuperclass(), bClass, String.class); in testGenericSuperclassRawType()
DOldGenericTypesTest.java166 assertInstanceOf(ParameterizedType.class, clazz.getGenericSuperclass()); in testSimpleInheritance()
167 ParameterizedType parameterizedSuperType = (ParameterizedType) clazz.getGenericSuperclass(); in testSimpleInheritance()
DReflectionTest.java74 AList.class.getGenericSuperclass().toString()); in testGenericSuperclassToString()
/libcore/luni/src/test/java/libcore/libcore/reflect/
DParameterizedTypeRegressionTest.java212 return ((ParameterizedType) parameterizedClass.getGenericSuperclass()) in getArgumentType()
/libcore/ojluni/annotations/mmodule/java/lang/
DClass.annotated.java82 public java.lang.reflect.Type getGenericSuperclass() { throw new RuntimeException("Stub!"); } in getGenericSuperclass() method in Class
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DClass.annotated.java80 @libcore.util.Nullable public java.lang.reflect.Type getGenericSuperclass() { throw new RuntimeExce… in getGenericSuperclass() method in Class
/libcore/ojluni/annotations/hiddenapi/java/lang/
DClass.java119 public java.lang.reflect.Type getGenericSuperclass() { in getGenericSuperclass() method in Class
/libcore/ojluni/src/main/java/java/lang/
DClass.java864 public Type getGenericSuperclass() { in getGenericSuperclass() method in Class