/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ReflectionTest.java | 49 assertEquals(AbstractList.class, ArrayList.class.getSuperclass()); in testClassGetSuperclass() 50 assertEquals(AbstractCollection.class, AbstractList.class.getSuperclass()); in testClassGetSuperclass() 51 assertEquals(AbstractCollection.class, AbstractList.class.getSuperclass()); in testClassGetSuperclass() 52 assertEquals(Object.class, AbstractCollection.class.getSuperclass()); in testClassGetSuperclass() 53 assertNull(Object.class.getSuperclass()); in testClassGetSuperclass() 57 assertNull(boolean.class.getSuperclass()); in testPrimitiveGetSuperclass() 58 assertNull(int.class.getSuperclass()); in testPrimitiveGetSuperclass() 59 assertNull(double.class.getSuperclass()); in testPrimitiveGetSuperclass() 60 assertNull(void.class.getSuperclass()); in testPrimitiveGetSuperclass() 64 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 | 825 public Class<? super T> getSuperclass() { in getSuperclass() method in Class 865 Type genericSuperclass = getSuperclass(); in getGenericSuperclass() 2078 for (Class<?> c = this; c != null; c = c.getSuperclass()) { in getPublicMethodRecursive() 2100 for (Class<?> c = this; c != null; c = c.getSuperclass()) { in getInstanceMethod() 2400 this.getSuperclass() == java.lang.Enum.class; in isEnum() 2499 for (Class<?> sup = getSuperclass(); sup != null; sup = sup.getSuperclass()) { in getAnnotation() 2526 for (Class<?> sup = getSuperclass(); sup != null; sup = sup.getSuperclass()) { in isAnnotationPresent() 2557 Class<?> superClass = getSuperclass(); // Returns null if klass's base is Object. in getAnnotationsByType() 2588 for (Class<?> sup = getSuperclass(); sup != null; sup = sup.getSuperclass()) { in getAnnotations()
|
D | Enum.java | 205 Class<?> zuper = clazz.getSuperclass(); in getDeclaringClass()
|
D | Thread.java | 1869 cl = cl.getSuperclass()) in auditSubclass()
|
/libcore/ojluni/src/main/java/java/util/ |
D | RegularEnumSet.java | 144 if (eClass != elementType && eClass.getSuperclass() != elementType) in contains() 178 if (eClass != elementType && eClass.getSuperclass() != elementType) in remove()
|
D | JumboEnumSet.java | 184 if (eClass != elementType && eClass.getSuperclass() != elementType) in contains() 225 if (eClass != elementType && eClass.getSuperclass() != elementType) in remove()
|
D | EnumMap.java | 319 return keyClass == keyType || keyClass.getSuperclass() == keyType; in isValidKey() 744 if (keyClass != keyType && keyClass.getSuperclass() != keyType) in typeCheck()
|
D | EnumSet.java | 396 if (eClass != elementType && eClass.getSuperclass() != elementType) in typeCheck()
|
/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 | 457 assertNull("Object has a superclass???", Object.class.getSuperclass()); in test_getSuperclass() 459 FileInputStream.class.getSuperclass()); in test_getSuperclass() 461 .getSuperclass()); in test_getSuperclass() 462 assertNull("Base class has a superclass", int.class.getSuperclass()); in test_getSuperclass() 463 assertNull("Interface class has a superclass", Cloneable.class.getSuperclass()); in test_getSuperclass()
|
/libcore/ojluni/src/main/java/sun/reflect/ |
D | Reflection.java | 275 queryClass = queryClass.getSuperclass(); in isSubclassOf()
|
/libcore/ojluni/src/main/java/sun/reflect/misc/ |
D | ReflectUtil.java | 114 queryClass = queryClass.getSuperclass(); in isSubclassOf()
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectStreamClass.java | 475 Class<?> superCl = cl.getSuperclass(); in ObjectStreamClass() 1216 end = end.getSuperclass(); in getClassDataLayout0() 1231 for (Class<?> c = start; c != end; c = c.getSuperclass()) { in getClassDataLayout0() 1240 for (Class<?> c = start; c != match; c = c.getSuperclass()) { in getClassDataLayout0() 1244 start = match.getSuperclass(); in getClassDataLayout0() 1252 for (Class<?> c = start; c != end; c = c.getSuperclass()) { in getClassDataLayout0() 1415 if ((initCl = initCl.getSuperclass()) == null) { in getSerializableConstructor() 1458 defCl = defCl.getSuperclass(); in getInheritableMethod()
|
D | ObjectOutputStream.java | 1096 cl = cl.getSuperclass()) in auditSubclass()
|
/libcore/dalvik/test-rules/src/main/java/libcore/dalvik/system/ |
D | CloseGuardSupport.java | 223 clazz = clazz.getSuperclass();
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | LambdaImplementationTest.java | 265 interfaceClass = interfaceClass.getSuperclass(); in assertLambdaImplementsInterfaces() 373 assertSame(Object.class, lambdaClass.getSuperclass()); in assertGeneralLambdaClassCharacteristics()
|
/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/annotations/mmodule/java/lang/ |
D | Class.annotated.java | 80 public java.lang.Class<? super T> getSuperclass() { throw new RuntimeException("Stub!"); } in getSuperclass() method in Class
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Class.annotated.java | 78 @libcore.util.Nullable public java.lang.Class<? super T> getSuperclass() { throw new RuntimeExcepti… in getSuperclass() method in Class
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Class.java | 115 public java.lang.Class<? super T> getSuperclass() { in getSuperclass() method in Class
|
/libcore/ojluni/src/main/java/java/net/ |
D | Socket.java | 511 clazz = clazz.getSuperclass(); in checkOldImpl()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | SocketChannelImpl.java | 1050 sb.append(this.getClass().getSuperclass().getName()); in toString()
|