Package org.immutables.generator
Enum PostprocessingMachine.CommentState
- java.lang.Object
-
- java.lang.Enum<PostprocessingMachine.CommentState>
-
- org.immutables.generator.PostprocessingMachine.CommentState
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PostprocessingMachine.CommentState>
- Enclosing class:
- PostprocessingMachine
static enum PostprocessingMachine.CommentState extends java.lang.Enum<PostprocessingMachine.CommentState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLOCK_COMMENTBLOCK_COMMENT_OUT_CANDIDATECOMMENT_CANDIDATELINE_COMMENTNOT_IN_COMMENTSTRING_LITERAL
-
Constructor Summary
Constructors Modifier Constructor Description privateCommentState()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PostprocessingMachine.CommentStatevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PostprocessingMachine.CommentState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_IN_COMMENT
public static final PostprocessingMachine.CommentState NOT_IN_COMMENT
-
COMMENT_CANDIDATE
public static final PostprocessingMachine.CommentState COMMENT_CANDIDATE
-
STRING_LITERAL
public static final PostprocessingMachine.CommentState STRING_LITERAL
-
LINE_COMMENT
public static final PostprocessingMachine.CommentState LINE_COMMENT
-
BLOCK_COMMENT
public static final PostprocessingMachine.CommentState BLOCK_COMMENT
-
BLOCK_COMMENT_OUT_CANDIDATE
public static final PostprocessingMachine.CommentState BLOCK_COMMENT_OUT_CANDIDATE
-
-
Method Detail
-
values
public static PostprocessingMachine.CommentState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PostprocessingMachine.CommentState c : PostprocessingMachine.CommentState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PostprocessingMachine.CommentState valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-