private static enum JavaDocument.CommentState extends java.lang.Enum<JavaDocument.CommentState>
Enum Constant and Description |
---|
COMMENT
last processed chars were "/*"
|
LNECOMMENT
last processed chars were "//"
|
MAYBE
last processed char was "/"
|
MAYBEEND
last processed char was "*"
|
NO
no comment char encountered
|
Modifier and Type | Method and Description |
---|---|
static JavaDocument.CommentState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JavaDocument.CommentState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaDocument.CommentState NO
public static final JavaDocument.CommentState MAYBE
public static final JavaDocument.CommentState COMMENT
public static final JavaDocument.CommentState LNECOMMENT
public static final JavaDocument.CommentState MAYBEEND
public static JavaDocument.CommentState[] values()
for (JavaDocument.CommentState c : JavaDocument.CommentState.values()) System.out.println(c);
public static JavaDocument.CommentState 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