Home
last modified time | relevance | path

Searched refs:getEnumConstants (Results 1 – 6 of 6) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DEnumSetTest.java333 Enum[] elements = EmptyEnum.class.getEnumConstants(); in test_addAll_LCollection()
375 elements = EnumWithInnerClass.class.getEnumConstants(); in test_addAll_LCollection()
391 elements = EnumWithInnerClass.class.getEnumConstants(); in test_addAll_LCollection()
480 Enum[] elements = EnumFoo.class.getEnumConstants(); in test_remove_LOject()
524 Enum[] elements = EnumFoo.class.getEnumConstants(); in test_equals_LObject()
534 elements = EnumFoo.class.getEnumConstants(); in test_equals_LObject()
546 elements = EnumWithInnerClass.class.getEnumConstants(); in test_equals_LObject()
706 Enum[] elements = EnumFoo.class.getEnumConstants(); in test_contains_LObject()
778 Enum[] elements = EnumFoo.class.getEnumConstants(); in test_containsAll_LCollection()
790 elements = EmptyEnum.class.getEnumConstants(); in test_containsAll_LCollection()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DReflectionTest.java356 assertNotNull(trafficClass.getEnumConstants()); in testClassIsEnum()
357 assertNull(yellowClass.getEnumConstants()); in testClassIsEnum()
358 assertNull(greenClass.getEnumConstants()); in testClassIsEnum()
/libcore/luni/src/test/java/libcore/java/lang/
DOldClassTest.java412 Object [] clazz = ExtendTestClass.class.getEnumConstants(); in test_getEnumConstants()
414 Object [] constants = TestEnum.class.getEnumConstants(); in test_getEnumConstants()
419 assertEquals(0, TestEmptyEnum.class.getEnumConstants().length); in test_getEnumConstants()
/libcore/ojluni/annotations/mmodule/java/lang/
DClass.annotated.java162 public T[] getEnumConstants() { throw new RuntimeException("Stub!"); } in getEnumConstants() method in Class
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DClass.annotated.java155 public T @libcore.util.Nullable [] getEnumConstants() { throw new RuntimeException("Stub!"); } in getEnumConstants() method in Class
/libcore/ojluni/annotations/hiddenapi/java/lang/
DClass.java342 public T[] getEnumConstants() { in getEnumConstants() method in Class