Home
last modified time | relevance | path

Searched refs:getSuperclass (Results 1 – 21 of 21) 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/ojluni/src/main/java/java/lang/
DClass.java775 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()
DEnum.java203 Class zuper = clazz.getSuperclass(); in getDeclaringClass()
DThread.java1671 cl = cl.getSuperclass()) in auditSubclass()
/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/ojluni/src/main/java/java/util/
DRegularEnumSet.java143 if (eClass != elementType && eClass.getSuperclass() != elementType) in contains()
177 if (eClass != elementType && eClass.getSuperclass() != elementType) in remove()
DJumboEnumSet.java180 if (eClass != elementType && eClass.getSuperclass() != elementType) in contains()
221 if (eClass != elementType && eClass.getSuperclass() != elementType) in remove()
DEnumMap.java318 return keyClass == keyType || keyClass.getSuperclass() == keyType; in isValidKey()
741 if (keyClass != keyType && keyClass.getSuperclass() != keyType) in typeCheck()
DEnumSet.java378 if (eClass != elementType && eClass.getSuperclass() != elementType) in typeCheck()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DClassTest.java453 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/
DReflectUtil.java55 queryClass = queryClass.getSuperclass(); in isSubclassOf()
/libcore/ojluni/src/main/java/sun/reflect/
DReflection.java201 queryClass = queryClass.getSuperclass(); in isSubclassOf()
/libcore/ojluni/src/main/java/java/io/
DObjectStreamClass.java452 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()
DObjectOutputStream.java1086 cl = cl.getSuperclass()) in auditSubclass()
DObjectInputStream.java1268 cl = cl.getSuperclass()) in auditSubclass()
/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/src/main/java/java/net/
DSocket.java476 clazz = clazz.getSuperclass(); in checkOldImpl()
/libcore/ojluni/src/main/java/sun/nio/ch/
DSocketChannelImpl.java992 sb.append(this.getClass().getSuperclass().getName()); in toString()