public static enum JClassDecl.ClassType extends java.lang.Enum<JClassDecl.ClassType>
| Enum Constant and Description |
|---|
Annotation |
Class |
Enum |
Interface |
| Modifier and Type | Method and Description |
|---|---|
static JClassDecl.ClassType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JClassDecl.ClassType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JClassDecl.ClassType Class
public static final JClassDecl.ClassType Interface
public static final JClassDecl.ClassType Enum
public static final JClassDecl.ClassType Annotation
public static JClassDecl.ClassType[] values()
for (JClassDecl.ClassType c : JClassDecl.ClassType.values()) System.out.println(c);
public static JClassDecl.ClassType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null