Package org.openrewrite.groovy.tree
Enum GRightPadded.Location
- java.lang.Object
-
- java.lang.Enum<GRightPadded.Location>
-
- org.openrewrite.groovy.tree.GRightPadded.Location
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<GRightPadded.Location>
- Enclosing class:
- GRightPadded
public static enum GRightPadded.Location extends java.lang.Enum<GRightPadded.Location>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LIST_LITERAL_ELEMENT_SUFFIXMAP_ENTRY_KEYMAP_LITERAL_ELEMENT_SUFFIXTOP_LEVEL_STATEMENT_SUFFIX
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GSpace.LocationgetAfterLocation()static GRightPadded.LocationvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static GRightPadded.Location[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LIST_LITERAL_ELEMENT_SUFFIX
public static final GRightPadded.Location LIST_LITERAL_ELEMENT_SUFFIX
-
MAP_ENTRY_KEY
public static final GRightPadded.Location MAP_ENTRY_KEY
-
MAP_LITERAL_ELEMENT_SUFFIX
public static final GRightPadded.Location MAP_LITERAL_ELEMENT_SUFFIX
-
TOP_LEVEL_STATEMENT_SUFFIX
public static final GRightPadded.Location TOP_LEVEL_STATEMENT_SUFFIX
-
-
Method Detail
-
values
public static GRightPadded.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 (GRightPadded.Location c : GRightPadded.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 GRightPadded.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
-
getAfterLocation
public GSpace.Location getAfterLocation()
-
-