Home
last modified time | relevance | path

Searched refs:isEnum (Results 1 – 9 of 9) sorted by relevance

/libcore/luni/src/main/java/java/io/
DObjectStreamClass.java139 private transient boolean isEnum; field in ObjectStreamClass
275 if (result.isEnum() || result.isProxy()) { in createClassDesc()
1017 isEnum = Enum.class.isAssignableFrom(cl); in resolveProperties()
1039 boolean isEnum() { in isEnum() method in ObjectStreamClass
1041 return isEnum; in isEnum()
1341 if (isEnum()) { in checkAndGetTcObjectClass()
1377 if (!isEnum()) { in checkAndGetTcEnumClass()
DObjectOutputStream.java1216 if (clDesc.isEnum()) { in writeNewClass()
1716 while (theClass != null && !theClass.isEnum()) { in writeNewEnum()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DReflectionTest.java346 assertTrue(trafficClass.isEnum()); in testClassIsEnum()
347 assertTrue(redClass.isEnum()); in testClassIsEnum()
348 assertFalse(yellowClass.isEnum()); in testClassIsEnum()
349 assertFalse(greenClass.isEnum()); in testClassIsEnum()
/libcore/libart/src/main/java/java/lang/
DEnum.java37 if (!enumType.isEnum()) {
DClass.java1060 if (!isEnum()) { in getEnumConstants()
1501 public boolean isEnum() { in isEnum() method in Class
/libcore/luni/src/test/java/libcore/java/lang/
DOldClassTest.java575 assertFalse(PublicTestClass.class.isEnum()); in test_isEnum()
576 assertFalse(ExtendTestClass.class.isEnum()); in test_isEnum()
577 assertTrue(TestEnum.ONE.getClass().isEnum()); in test_isEnum()
578 assertTrue(TestEnum.class.isEnum()); in test_isEnum()
/libcore/luni/src/main/java/java/util/
DEnumSet.java45 if (!elementType.isEnum()) { in noneOf()
DEnumMap.java445 if (clazz.isEnum()) {
/libcore/luni/src/main/java/libcore/reflect/
DAnnotationAccess.java679 } else if (type.isEnum()) { in decodeValue()