Package org.eclipse.xtext.xtext
Enum GeneratorAnnotationTarget
- java.lang.Object
-
- java.lang.Enum<GeneratorAnnotationTarget>
-
- org.eclipse.xtext.xtext.GeneratorAnnotationTarget
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<GeneratorAnnotationTarget>
public enum GeneratorAnnotationTarget extends java.lang.Enum<GeneratorAnnotationTarget>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ENUMPARSERRULETERMINAL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GeneratorAnnotationTargetvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static GeneratorAnnotationTarget[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PARSERRULE
public static final GeneratorAnnotationTarget PARSERRULE
-
ENUM
public static final GeneratorAnnotationTarget ENUM
-
TERMINAL
public static final GeneratorAnnotationTarget TERMINAL
-
-
Method Detail
-
values
public static GeneratorAnnotationTarget[] 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 (GeneratorAnnotationTarget c : GeneratorAnnotationTarget.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GeneratorAnnotationTarget 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
-
-