Home
last modified time | relevance | path

Searched refs:getSuperclass (Results 1 – 15 of 15) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/reflect/
DReflectionTest.java43 assertEquals(AbstractList.class, ArrayList.class.getSuperclass()); in testClassGetSuperclass()
44 assertEquals(AbstractCollection.class, AbstractList.class.getSuperclass()); in testClassGetSuperclass()
45 assertEquals(AbstractCollection.class, AbstractList.class.getSuperclass()); in testClassGetSuperclass()
46 assertEquals(Object.class, AbstractCollection.class.getSuperclass()); in testClassGetSuperclass()
47 assertNull(Object.class.getSuperclass()); in testClassGetSuperclass()
51 assertNull(boolean.class.getSuperclass()); in testPrimitiveGetSuperclass()
52 assertNull(int.class.getSuperclass()); in testPrimitiveGetSuperclass()
53 assertNull(double.class.getSuperclass()); in testPrimitiveGetSuperclass()
54 assertNull(void.class.getSuperclass()); in testPrimitiveGetSuperclass()
58 assertNull(Comparable.class.getSuperclass()); in testInterfaceGetSuperclass()
[all …]
DOldAndroidClassTest.java78 assertEquals(helloClass.getSuperclass().getSuperclass().getSuperclass(), objectClass); in testGetSuperclass()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/support/
DP.java41 ret = findProp(cls.getSuperclass(), key); in findProp()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/support/
DP.java24 ret = findProp(cls.getSuperclass(), key); in findProp()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DClassTest.java450 assertNull("Object has a superclass???", Object.class.getSuperclass()); in test_getSuperclass()
452 FileInputStream.class.getSuperclass()); in test_getSuperclass()
454 .getSuperclass()); in test_getSuperclass()
455 assertNull("Base class has a superclass", int.class.getSuperclass()); in test_getSuperclass()
456 assertNull("Interface class has a superclass", Cloneable.class.getSuperclass()); in test_getSuperclass()
/libcore/luni/src/main/java/libcore/reflect/
DAnnotationAccess.java78 for (Class<?> sup = c.getSuperclass(); sup != null; sup = sup.getSuperclass()) { in getAnnotation()
114 for (Class<?> sup = c.getSuperclass(); sup != null; sup = sup.getSuperclass()) { in getAnnotations()
142 for (Class<?> sup = c.getSuperclass(); sup != null; sup = sup.getSuperclass()) { in isAnnotationPresent()
DGenericSignatureParser.java131 this.superclassType = c.getSuperclass(); in parseForClass()
/libcore/libart/src/main/java/java/lang/
DEnum.java163 Class<?> mySuperClass = myClass.getSuperclass(); in getDeclaringClass()
DClass.java671 for (Class<?> c = this; c != null; c = c.getSuperclass()) { in getPublicMethodRecursive()
1182 Type genericSuperclass = getSuperclass(); in getGenericSuperclass()
1392 public Class<? super T> getSuperclass() { in getSuperclass() method in Class
1502 return (getSuperclass() == Enum.class) && ((accessFlags & 0x4000) != 0); in isEnum()
/libcore/luni/src/main/java/java/io/
DObjectStreamClass.java266 Class<?> superclass = cl.getSuperclass(); in createClassDesc()
696 constructorClass = constructorClass.getSuperclass(); in resolveConstructorClass()
843 for (ObjectStreamClass osc = this; osc != null; osc = osc.getSuperclass()) { in makeHierarchy()
943 ObjectStreamClass getSuperclass() { in getSuperclass() method in ObjectStreamClass
1136 search = search.getSuperclass(); in findMethod()
DObjectOutputStream.java775 writeClassDesc(classDesc.getSuperclass(), unshared); in writeClassDesc()
1693 ObjectStreamClass superClassDesc = classDesc.getSuperclass(); in writeEnumDesc()
1718 theClass = theClass.getSuperclass(); in writeNewEnum()
1729 ObjectStreamField[] fields = classDesc.getSuperclass().fields(); in writeNewEnum()
1733 Field field = classDesc.getSuperclass().checkAndGetReflectionField(fields[1]); in writeNewEnum()
DObjectInputStream.java1256 Class<?> testClass = nextClass.getSuperclass(); in cacheSuperclassesFor()
/libcore/luni/src/main/java/java/util/
DEnumSet.java315 return cls == elementClass || cls.getSuperclass() == elementClass; in isValidType()
DEnumMap.java448 initialization(clazz.getSuperclass());
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DProxyTest.java76 proxy.getSuperclass() == Proxy.class); in test_getProxyClassLjava_lang_ClassLoader$Ljava_lang_Class()