Enum SourceParser.AnnotationState
- java.lang.Object
-
- java.lang.Enum<SourceParser.AnnotationState>
-
- org.inferred.freebuilder.processor.source.SourceParser.AnnotationState
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SourceParser.AnnotationState>
- Enclosing class:
- SourceParser
static enum SourceParser.AnnotationState extends java.lang.Enum<SourceParser.AnnotationState>
-
-
Constructor Summary
Constructors Modifier Constructor Description privateAnnotationState()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SourceParser.AnnotationStatevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SourceParser.AnnotationState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CODE
public static final SourceParser.AnnotationState CODE
-
SYMBOL
public static final SourceParser.AnnotationState SYMBOL
-
NAME
public static final SourceParser.AnnotationState NAME
-
SPACE
public static final SourceParser.AnnotationState SPACE
-
PERIOD
public static final SourceParser.AnnotationState PERIOD
-
BODY
public static final SourceParser.AnnotationState BODY
-
-
Method Detail
-
values
public static SourceParser.AnnotationState[] 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 (SourceParser.AnnotationState c : SourceParser.AnnotationState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SourceParser.AnnotationState 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
-
-