Home
last modified time | relevance | path

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

12

/libcore/luni/src/test/java/libcore/java/lang/reflect/
DReflectionTest.java49 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 …]
DOldAndroidClassTest.java78 assertEquals(helloClass.getSuperclass().getSuperclass().getSuperclass(), objectClass); in testGetSuperclass()
/libcore/ojluni/src/main/java/java/lang/
DClass.java825 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()
DEnum.java205 Class<?> zuper = clazz.getSuperclass(); in getDeclaringClass()
DThread.java1869 cl = cl.getSuperclass()) in auditSubclass()
/libcore/ojluni/src/main/java/java/util/
DRegularEnumSet.java144 if (eClass != elementType && eClass.getSuperclass() != elementType) in contains()
178 if (eClass != elementType && eClass.getSuperclass() != elementType) in remove()
DJumboEnumSet.java184 if (eClass != elementType && eClass.getSuperclass() != elementType) in contains()
225 if (eClass != elementType && eClass.getSuperclass() != elementType) in remove()
DEnumMap.java319 return keyClass == keyType || keyClass.getSuperclass() == keyType; in isValidKey()
744 if (keyClass != keyType && keyClass.getSuperclass() != keyType) in typeCheck()
DEnumSet.java396 if (eClass != elementType && eClass.getSuperclass() != elementType) in typeCheck()
/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.java457 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/
DReflection.java275 queryClass = queryClass.getSuperclass(); in isSubclassOf()
/libcore/ojluni/src/main/java/sun/reflect/misc/
DReflectUtil.java114 queryClass = queryClass.getSuperclass(); in isSubclassOf()
/libcore/ojluni/src/main/java/java/io/
DObjectStreamClass.java475 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()
DObjectOutputStream.java1096 cl = cl.getSuperclass()) in auditSubclass()
/libcore/dalvik/test-rules/src/main/java/libcore/dalvik/system/
DCloseGuardSupport.java223 clazz = clazz.getSuperclass();
/libcore/luni/src/test/java/libcore/java/lang/
DLambdaImplementationTest.java265 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/
DProxyTest.java76 proxy.getSuperclass() == Proxy.class); in test_getProxyClassLjava_lang_ClassLoader$Ljava_lang_Class()
/libcore/luni/src/main/java/libcore/reflect/
DGenericSignatureParser.java131 this.superclassType = c.getSuperclass(); in parseForClass()
/libcore/ojluni/annotations/mmodule/java/lang/
DClass.annotated.java80 public java.lang.Class<? super T> getSuperclass() { throw new RuntimeException("Stub!"); } in getSuperclass() method in Class
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DClass.annotated.java78 @libcore.util.Nullable public java.lang.Class<? super T> getSuperclass() { throw new RuntimeExcepti… in getSuperclass() method in Class
/libcore/ojluni/annotations/hiddenapi/java/lang/
DClass.java115 public java.lang.Class<? super T> getSuperclass() { in getSuperclass() method in Class
/libcore/ojluni/src/main/java/java/net/
DSocket.java511 clazz = clazz.getSuperclass(); in checkOldImpl()
/libcore/ojluni/src/main/java/sun/nio/ch/
DSocketChannelImpl.java1050 sb.append(this.getClass().getSuperclass().getName()); in toString()

12