/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/ojluni/src/main/java/java/lang/ |
D | Class.java | 775 public Class<? super T> getSuperclass() { in getSuperclass() method in Class 815 Type genericSuperclass = getSuperclass(); in getGenericSuperclass() 1987 for (Class<?> c = this; c != null; c = c.getSuperclass()) { in getPublicMethodRecursive() 2265 this.getSuperclass() == java.lang.Enum.class; in isEnum() 2358 for (Class<?> sup = getSuperclass(); sup != null; sup = sup.getSuperclass()) { in getAnnotation() 2379 for (Class<?> sup = getSuperclass(); sup != null; sup = sup.getSuperclass()) { in isAnnotationPresent() 2411 for (Class<?> sup = getSuperclass(); sup != null; sup = sup.getSuperclass()) { in getAnnotations() 2456 Class<?> superClass = getSuperclass(); // Returns null if klass's base is Object. in getAnnotationsByType()
|
D | Enum.java | 203 Class zuper = clazz.getSuperclass(); in getDeclaringClass()
|
D | Thread.java | 1671 cl = cl.getSuperclass()) in auditSubclass()
|
/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/ojluni/src/main/java/java/util/ |
D | RegularEnumSet.java | 143 if (eClass != elementType && eClass.getSuperclass() != elementType) in contains() 177 if (eClass != elementType && eClass.getSuperclass() != elementType) in remove()
|
D | JumboEnumSet.java | 180 if (eClass != elementType && eClass.getSuperclass() != elementType) in contains() 221 if (eClass != elementType && eClass.getSuperclass() != elementType) in remove()
|
D | EnumMap.java | 318 return keyClass == keyType || keyClass.getSuperclass() == keyType; in isValidKey() 741 if (keyClass != keyType && keyClass.getSuperclass() != keyType) in typeCheck()
|
D | EnumSet.java | 378 if (eClass != elementType && eClass.getSuperclass() != elementType) in typeCheck()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ClassTest.java | 453 assertNull("Object has a superclass???", Object.class.getSuperclass()); in test_getSuperclass() 455 FileInputStream.class.getSuperclass()); in test_getSuperclass() 457 .getSuperclass()); in test_getSuperclass() 458 assertNull("Base class has a superclass", int.class.getSuperclass()); in test_getSuperclass() 459 assertNull("Interface class has a superclass", Cloneable.class.getSuperclass()); in test_getSuperclass()
|
/libcore/ojluni/src/main/java/sun/reflect/misc/ |
D | ReflectUtil.java | 55 queryClass = queryClass.getSuperclass(); in isSubclassOf()
|
/libcore/ojluni/src/main/java/sun/reflect/ |
D | Reflection.java | 201 queryClass = queryClass.getSuperclass(); in isSubclassOf()
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectStreamClass.java | 452 Class<?> superCl = cl.getSuperclass(); in ObjectStreamClass() 1153 end = end.getSuperclass(); in getClassDataLayout0() 1168 for (Class<?> c = start; c != end; c = c.getSuperclass()) { in getClassDataLayout0() 1177 for (Class<?> c = start; c != match; c = c.getSuperclass()) { in getClassDataLayout0() 1181 start = match.getSuperclass(); in getClassDataLayout0() 1189 for (Class<?> c = start; c != end; c = c.getSuperclass()) { in getClassDataLayout0() 1352 if ((initCl = initCl.getSuperclass()) == null) { in getSerializableConstructor() 1392 defCl = defCl.getSuperclass(); in getInheritableMethod()
|
D | ObjectOutputStream.java | 1086 cl = cl.getSuperclass()) in auditSubclass()
|
D | ObjectInputStream.java | 1268 cl = cl.getSuperclass()) in auditSubclass()
|
/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()
|
/libcore/luni/src/main/java/libcore/reflect/ |
D | GenericSignatureParser.java | 131 this.superclassType = c.getSuperclass(); in parseForClass()
|
/libcore/ojluni/src/main/java/java/net/ |
D | Socket.java | 476 clazz = clazz.getSuperclass(); in checkOldImpl()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | SocketChannelImpl.java | 992 sb.append(this.getClass().getSuperclass().getName()); in toString()
|