Searched refs:getGenericSuperclass (Results 1 – 13 of 13) sorted by relevance
/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/ |
D | ClassTest.java | 82 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()
|
D | OldClassTest.java | 456 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()
|
D | LambdaImplementationTest.java | 374 assertSame(Object.class, lambdaClass.getGenericSuperclass()); in assertGeneralLambdaClassCharacteristics()
|
/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 | 81 @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 | 1214 public Type getGenericSuperclass() { in getGenericSuperclass() method in Class
|
/libcore/api/ |
D | current.txt | 3109 method @Nullable public java.lang.reflect.Type getGenericSuperclass();
|