Searched refs:isEnum (Results 1 – 6 of 6) sorted by relevance
111 private boolean isEnum; field in ObjectStreamClass448 isEnum = Enum.class.isAssignableFrom(cl); in ObjectStreamClass()459 if (isEnum) { in ObjectStreamClass()513 if (isEnum) { in ObjectStreamClass()581 isEnum = model.isEnum; in initNonProxy()596 if (isEnum != localDesc.isEnum) { in initNonProxy()597 throw new InvalidClassException(isEnum ? in initNonProxy()619 if (!isEnum) { in initNonProxy()678 isEnum = ((flags & ObjectStreamConstants.SC_ENUM) != 0); in readNonProxy()679 if (isEnum && suid.longValue() != 0L) { in readNonProxy()[all …]
1727 if (!desc.isEnum()) { in readEnum()
346 assertTrue(trafficClass.isEnum()); in testClassIsEnum()347 assertTrue(redClass.isEnum()); in testClassIsEnum()348 assertFalse(yellowClass.isEnum()); in testClassIsEnum()349 assertFalse(greenClass.isEnum()); in testClassIsEnum()
261 if (!enumType.isEnum()) {
2260 public boolean isEnum() { in isEnum() method in Class2290 if (!isEnum()) return null; in getEnumConstantsShared()
570 assertFalse(PublicTestClass.class.isEnum()); in test_isEnum()571 assertFalse(ExtendTestClass.class.isEnum()); in test_isEnum()572 assertTrue(TestEnum.ONE.getClass().isEnum()); in test_isEnum()573 assertTrue(TestEnum.class.isEnum()); in test_isEnum()