public static enum Tokens.Comment.CommentStyle extends Enum<Tokens.Comment.CommentStyle>
Modifier and Type | Method and Description |
---|---|
static Tokens.Comment.CommentStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Tokens.Comment.CommentStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tokens.Comment.CommentStyle LINE
public static final Tokens.Comment.CommentStyle BLOCK
public static final Tokens.Comment.CommentStyle JAVADOC
public static Tokens.Comment.CommentStyle[] values()
for (Tokens.Comment.CommentStyle c : Tokens.Comment.CommentStyle.values()) System.out.println(c);
public static Tokens.Comment.CommentStyle 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 © 2015. All rights reserved.