public static enum DeclarationParser.Context extends java.lang.Enum<DeclarationParser.Context>
| Enum Constant and Description |
|---|
ANNOTATION_INTERFACE |
CLASS |
CODE_BLOCK |
FILE |
| Modifier and Type | Method and Description |
|---|---|
static DeclarationParser.Context |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DeclarationParser.Context[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeclarationParser.Context FILE
public static final DeclarationParser.Context CLASS
public static final DeclarationParser.Context CODE_BLOCK
public static final DeclarationParser.Context ANNOTATION_INTERFACE
public static DeclarationParser.Context[] values()
for (DeclarationParser.Context c : DeclarationParser.Context.values()) System.out.println(c);
public static DeclarationParser.Context 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