Home
last modified time | relevance | path

Searched refs:genericSuperclass (Results 1 – 2 of 2) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DParameterizedTypeTest.java33 Type genericSuperclass = clazz.getGenericSuperclass(); in testStringParameterizedSuperClass() local
34 assertInstanceOf(ParameterizedType.class, genericSuperclass); in testStringParameterizedSuperClass()
37 assertEquals(aName + "<java.lang.String>", genericSuperclass.toString()); in testStringParameterizedSuperClass()
38 assertEquals(aName + "<java.lang.String>", genericSuperclass.getTypeName()); in testStringParameterizedSuperClass()
40 ParameterizedType parameterizedType = (ParameterizedType) genericSuperclass; in testStringParameterizedSuperClass()
54 Type genericSuperclass = clazz.getGenericSuperclass(); in testTypeParameterizedSuperClass() local
55 assertInstanceOf(ParameterizedType.class, genericSuperclass); in testTypeParameterizedSuperClass()
58 assertEquals(cName + "<T>", genericSuperclass.toString()); in testTypeParameterizedSuperClass()
59 assertEquals(cName + "<T>", genericSuperclass.getTypeName()); in testTypeParameterizedSuperClass()
61 ParameterizedType parameterizedType = (ParameterizedType) genericSuperclass; in testTypeParameterizedSuperClass()
/libcore/ojluni/src/main/java/java/lang/
DClass.java862 Type genericSuperclass = getSuperclass(); in getGenericSuperclass() local
865 if (genericSuperclass == null) { in getGenericSuperclass()
873 genericSuperclass = parser.superclassType; in getGenericSuperclass()
875 return Types.getType(genericSuperclass); in getGenericSuperclass()