Home
last modified time | relevance | path

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

/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/
DClassTest.java82 assertNull(Foo.class.getGenericSuperclass()); in getGenericSuperclass_nullReturnCases()
83 assertNull(ParameterizedFoo.class.getGenericSuperclass()); in getGenericSuperclass_nullReturnCases()
84 assertNull(ParameterizedBar.class.getGenericSuperclass()); in getGenericSuperclass_nullReturnCases()
85 assertNull(ParameterizedBaz.class.getGenericSuperclass()); in getGenericSuperclass_nullReturnCases()
87 assertNull(Object.class.getGenericSuperclass()); in getGenericSuperclass_nullReturnCases()
88 assertNull(void.class.getGenericSuperclass()); in getGenericSuperclass_nullReturnCases()
89 assertNull(int.class.getGenericSuperclass()); in getGenericSuperclass_nullReturnCases()
94 assertSame(Object.class, (new Integer[0]).getClass().getGenericSuperclass()); in getGenericSuperclass_returnsObjectForArrays()
DOldClassTest.java456 ExtendTestClass.class.getGenericSuperclass()); in test_getGenericSuperclass()
458 ExtendTestClass1.class.getGenericSuperclass()); in test_getGenericSuperclass()
459 assertEquals(Object.class, PublicTestClass.class.getGenericSuperclass()); in test_getGenericSuperclass()
460 assertEquals(Object.class, String.class.getGenericSuperclass()); in test_getGenericSuperclass()
461 assertEquals(null, TestInterface.class.getGenericSuperclass()); in test_getGenericSuperclass()
463 ParameterizedType type = (ParameterizedType) Vector.class.getGenericSuperclass(); in test_getGenericSuperclass()
DLambdaImplementationTest.java374 assertSame(Object.class, lambdaClass.getGenericSuperclass()); in assertGeneralLambdaClassCharacteristics()
/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.java81 @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.java1214 public Type getGenericSuperclass() { in getGenericSuperclass() method in Class
/libcore/api/
Dcurrent.txt3109 method @Nullable public java.lang.reflect.Type getGenericSuperclass();