Package types
Enum AnnotatedExpressionType
- java.lang.Object
-
- java.lang.Enum<AnnotatedExpressionType>
-
- types.AnnotatedExpressionType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AnnotatedExpressionType>
public enum AnnotatedExpressionType extends java.lang.Enum<AnnotatedExpressionType>
The AnnotatedExpressionType enum is used to store constants related to AnnotatedExpression objects.- Since:
- 1.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANNOTATED_ASSIGNMENT_EXPRESSIONANNOTATED_BINARY_EXPRESSIONANNOTATED_IDENTIFIER_EXPRESSIONANNOTATED_LITERAL_EXPRESSIONANNOTATED_UNARY_EXPRESSION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AnnotatedExpressionTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AnnotatedExpressionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANNOTATED_LITERAL_EXPRESSION
public static final AnnotatedExpressionType ANNOTATED_LITERAL_EXPRESSION
-
ANNOTATED_UNARY_EXPRESSION
public static final AnnotatedExpressionType ANNOTATED_UNARY_EXPRESSION
-
ANNOTATED_BINARY_EXPRESSION
public static final AnnotatedExpressionType ANNOTATED_BINARY_EXPRESSION
-
ANNOTATED_IDENTIFIER_EXPRESSION
public static final AnnotatedExpressionType ANNOTATED_IDENTIFIER_EXPRESSION
-
ANNOTATED_ASSIGNMENT_EXPRESSION
public static final AnnotatedExpressionType ANNOTATED_ASSIGNMENT_EXPRESSION
-
-
Method Detail
-
values
public static AnnotatedExpressionType[] 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 (AnnotatedExpressionType c : AnnotatedExpressionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AnnotatedExpressionType 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
-
-