public static enum ClassInfo.ClassType extends Enum<ClassInfo.ClassType>
| Enum Constant and Description |
|---|
ALL
Return all class types.
|
ANNOTATION
An annotation.
|
IMPLEMENTED_INTERFACE
An interface (this is named "implemented interface" rather than just "interface" to distinguish it from
an annotation.)
|
INTERFACE_OR_ANNOTATION
An interface or annotation (used since you can actually implement an annotation).
|
STANDARD_CLASS
A standard class (not an interface or annotation).
|
| Modifier and Type | Method and Description |
|---|---|
static ClassInfo.ClassType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClassInfo.ClassType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClassInfo.ClassType ALL
public static final ClassInfo.ClassType STANDARD_CLASS
public static final ClassInfo.ClassType IMPLEMENTED_INTERFACE
public static final ClassInfo.ClassType ANNOTATION
public static final ClassInfo.ClassType INTERFACE_OR_ANNOTATION
public static ClassInfo.ClassType[] values()
for (ClassInfo.ClassType c : ClassInfo.ClassType.values()) System.out.println(c);
public static ClassInfo.ClassType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2016. All rights reserved.