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