public static enum Comment.Style extends Enum<Comment.Style>
Enum Constant and Description |
---|
BLOCK
A block comment.
|
JAVADOC
A JavaDoc comment.
|
LINE
A line (double-slash) comment.
|
WHITESPACE
Whitespace
TODO: not comment, but requested by another teams to preserve
empty lines etc.
|
Modifier and Type | Method and Description |
---|---|
static Comment.Style |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Comment.Style[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Comment.Style LINE
public static final Comment.Style BLOCK
public static final Comment.Style JAVADOC
public static final Comment.Style WHITESPACE
public static Comment.Style[] values()
public static Comment.Style 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 null