Package org.openrewrite.groovy.tree
Enum GSpace.Location
- java.lang.Object
-
- java.lang.Enum<GSpace.Location>
-
- org.openrewrite.groovy.tree.GSpace.Location
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<GSpace.Location>
- Enclosing class:
- GSpace
public static enum GSpace.Location extends java.lang.Enum<GSpace.Location>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GSTRINGLIST_LITERALLIST_LITERAL_ELEMENT_SUFFIXLIST_LITERAL_ELEMENTSMAP_ENTRYMAP_ENTRY_KEY_SUFFIXMAP_ENTRY_PREFIXMAP_LITERALMAP_LITERAL_ELEMENT_SUFFIXMAP_LITERAL_ELEMENTSTOP_LEVEL_STATEMENT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GSpace.LocationvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static GSpace.Location[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GSTRING
public static final GSpace.Location GSTRING
-
LIST_LITERAL
public static final GSpace.Location LIST_LITERAL
-
LIST_LITERAL_ELEMENT_SUFFIX
public static final GSpace.Location LIST_LITERAL_ELEMENT_SUFFIX
-
LIST_LITERAL_ELEMENTS
public static final GSpace.Location LIST_LITERAL_ELEMENTS
-
MAP_ENTRY
public static final GSpace.Location MAP_ENTRY
-
MAP_ENTRY_PREFIX
public static final GSpace.Location MAP_ENTRY_PREFIX
-
MAP_ENTRY_KEY_SUFFIX
public static final GSpace.Location MAP_ENTRY_KEY_SUFFIX
-
MAP_LITERAL
public static final GSpace.Location MAP_LITERAL
-
MAP_LITERAL_ELEMENT_SUFFIX
public static final GSpace.Location MAP_LITERAL_ELEMENT_SUFFIX
-
MAP_LITERAL_ELEMENTS
public static final GSpace.Location MAP_LITERAL_ELEMENTS
-
TOP_LEVEL_STATEMENT
public static final GSpace.Location TOP_LEVEL_STATEMENT
-
-
Method Detail
-
values
public static GSpace.Location[] 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 (GSpace.Location c : GSpace.Location.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GSpace.Location 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
-
-