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