Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/io/
DObjectStreamClass.java118 private boolean isEnum; field in ObjectStreamClass
471 isEnum = Enum.class.isAssignableFrom(cl); in ObjectStreamClass()
482 if (isEnum) { in ObjectStreamClass()
536 if (isEnum) { in ObjectStreamClass()
611 if (model.isEnum != osc.isEnum) { in initNonProxy()
612 throw new InvalidClassException(model.isEnum ? in initNonProxy()
633 if (!model.isEnum) { in initNonProxy()
655 isEnum = model.isEnum; in initNonProxy()
710 isEnum = ((flags & ObjectStreamConstants.SC_ENUM) != 0); in readNonProxy()
711 if (isEnum && suid.longValue() != 0L) { in readNonProxy()
[all …]
/libcore/ojluni/src/main/java/java/lang/
DEnum.java261 if (!clazz.isEnum()) { in enumValues()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DReflectionTest.java352 assertTrue(trafficClass.isEnum()); in testClassIsEnum()
353 assertTrue(redClass.isEnum()); in testClassIsEnum()
354 assertFalse(yellowClass.isEnum()); in testClassIsEnum()
355 assertFalse(greenClass.isEnum()); in testClassIsEnum()
/libcore/luni/src/test/java/libcore/java/lang/
DOldClassTest.java630 assertFalse(PublicTestClass.class.isEnum()); in test_isEnum()
631 assertFalse(ExtendTestClass.class.isEnum()); in test_isEnum()
632 assertTrue(TestEnum.ONE.getClass().isEnum()); in test_isEnum()
633 assertTrue(TestEnum.class.isEnum()); in test_isEnum()
DLambdaImplementationTest.java347 assertFalse(lambdaClass.isEnum()); in assertGeneralLambdaClassCharacteristics()
/libcore/ojluni/annotations/hiddenapi/java/io/
DObjectStreamClass.java144 boolean isEnum() { in isEnum() method in ObjectStreamClass
408 private boolean isEnum; field in ObjectStreamClass
/libcore/ojluni/annotations/mmodule/java/lang/
DClass.annotated.java160 public boolean isEnum() { throw new RuntimeException("Stub!"); } in isEnum() method in Class
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DClass.annotated.java152 public boolean isEnum() { throw new RuntimeException("Stub!"); } in isEnum() method in Class
/libcore/ojluni/annotations/hiddenapi/java/lang/
DClass.java338 public boolean isEnum() { in isEnum() method in Class