Searched refs:getSuperclass (Results 1 – 15 of 15) sorted by relevance
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ReflectionTest.java | 43 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 …]
|
D | OldAndroidClassTest.java | 78 assertEquals(helloClass.getSuperclass().getSuperclass().getSuperclass(), objectClass); in testGetSuperclass()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/support/ |
D | P.java | 41 ret = findProp(cls.getSuperclass(), key); in findProp()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/support/ |
D | P.java | 24 ret = findProp(cls.getSuperclass(), key); in findProp()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ClassTest.java | 450 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/ |
D | AnnotationAccess.java | 78 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()
|
D | GenericSignatureParser.java | 131 this.superclassType = c.getSuperclass(); in parseForClass()
|
/libcore/libart/src/main/java/java/lang/ |
D | Enum.java | 163 Class<?> mySuperClass = myClass.getSuperclass(); in getDeclaringClass()
|
D | Class.java | 671 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/ |
D | ObjectStreamClass.java | 266 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()
|
D | ObjectOutputStream.java | 775 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()
|
D | ObjectInputStream.java | 1256 Class<?> testClass = nextClass.getSuperclass(); in cacheSuperclassesFor()
|
/libcore/luni/src/main/java/java/util/ |
D | EnumSet.java | 315 return cls == elementClass || cls.getSuperclass() == elementClass; in isValidType()
|
D | EnumMap.java | 448 initialization(clazz.getSuperclass());
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | ProxyTest.java | 76 proxy.getSuperclass() == Proxy.class); in test_getProxyClassLjava_lang_ClassLoader$Ljava_lang_Class()
|