Enum CodeTreeKind
- java.lang.Object
-
- java.lang.Enum<CodeTreeKind>
-
- com.oracle.truffle.dsl.processor.java.model.CodeTreeKind
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CodeTreeKind>
public enum CodeTreeKind extends java.lang.Enum<CodeTreeKind>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMA_GROUP
GROUP
INDENT
NEW_LINE
REMOVE_LAST
STATIC_FIELD_REFERENCE
STATIC_METHOD_REFERENCE
STRING
TYPE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CodeTreeKind
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CodeTreeKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STATIC_FIELD_REFERENCE
public static final CodeTreeKind STATIC_FIELD_REFERENCE
-
STATIC_METHOD_REFERENCE
public static final CodeTreeKind STATIC_METHOD_REFERENCE
-
GROUP
public static final CodeTreeKind GROUP
-
COMMA_GROUP
public static final CodeTreeKind COMMA_GROUP
-
REMOVE_LAST
public static final CodeTreeKind REMOVE_LAST
-
INDENT
public static final CodeTreeKind INDENT
-
STRING
public static final CodeTreeKind STRING
-
NEW_LINE
public static final CodeTreeKind NEW_LINE
-
TYPE
public static final CodeTreeKind TYPE
-
-
Method Detail
-
values
public static CodeTreeKind[] 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 (CodeTreeKind c : CodeTreeKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CodeTreeKind 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
-
-