Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/lang/
DClassTest.java47 assertNull(Foo.class.getGenericSuperclass()); in test_getGenericSuperclass_nullReturnCases()
48 assertNull(ParameterizedFoo.class.getGenericSuperclass()); in test_getGenericSuperclass_nullReturnCases()
49 assertNull(ParameterizedBar.class.getGenericSuperclass()); in test_getGenericSuperclass_nullReturnCases()
50 assertNull(ParameterizedBaz.class.getGenericSuperclass()); in test_getGenericSuperclass_nullReturnCases()
52 assertNull(Object.class.getGenericSuperclass()); in test_getGenericSuperclass_nullReturnCases()
53 assertNull(void.class.getGenericSuperclass()); in test_getGenericSuperclass_nullReturnCases()
54 assertNull(int.class.getGenericSuperclass()); in test_getGenericSuperclass_nullReturnCases()
58 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()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DParameterizedTypeTest.java33 Type genericSuperclass = clazz.getGenericSuperclass(); in testStringParameterizedSuperClass()
49 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.java68 AList.class.getGenericSuperclass().toString()); in testGenericSuperclassToString()
/libcore/ojluni/src/main/java/java/lang/
DClass.java814 public Type getGenericSuperclass() { in getGenericSuperclass() method in Class