Package org.openrewrite.java.tree
Enum JRightPadded.Location
- java.lang.Object
-
- java.lang.Enum<JRightPadded.Location>
-
- org.openrewrite.java.tree.JRightPadded.Location
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<JRightPadded.Location>
- Enclosing class:
- JRightPadded<T>
public static enum JRightPadded.Location extends java.lang.Enum<JRightPadded.Location>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Space.LocationgetAfterLocation()static JRightPadded.LocationvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static JRightPadded.Location[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANNOTATION_ARGUMENT
public static final JRightPadded.Location ANNOTATION_ARGUMENT
-
ARRAY_INDEX
public static final JRightPadded.Location ARRAY_INDEX
-
BLOCK_STATEMENT
public static final JRightPadded.Location BLOCK_STATEMENT
-
CASE
public static final JRightPadded.Location CASE
-
CATCH_ALTERNATIVE
public static final JRightPadded.Location CATCH_ALTERNATIVE
-
DIMENSION
public static final JRightPadded.Location DIMENSION
-
ENUM_VALUE
public static final JRightPadded.Location ENUM_VALUE
-
FOR_BODY
public static final JRightPadded.Location FOR_BODY
-
FOR_CONDITION
public static final JRightPadded.Location FOR_CONDITION
-
FOR_INIT
public static final JRightPadded.Location FOR_INIT
-
FOR_UPDATE
public static final JRightPadded.Location FOR_UPDATE
-
FOREACH_VARIABLE
public static final JRightPadded.Location FOREACH_VARIABLE
-
FOREACH_ITERABLE
public static final JRightPadded.Location FOREACH_ITERABLE
-
IF_ELSE
public static final JRightPadded.Location IF_ELSE
-
IF_THEN
public static final JRightPadded.Location IF_THEN
-
IMPLEMENTS
public static final JRightPadded.Location IMPLEMENTS
-
IMPORT
public static final JRightPadded.Location IMPORT
-
INSTANCEOF
public static final JRightPadded.Location INSTANCEOF
-
LABEL
public static final JRightPadded.Location LABEL
-
LAMBDA_PARAM
public static final JRightPadded.Location LAMBDA_PARAM
-
MEMBER_REFERENCE_CONTAINING
public static final JRightPadded.Location MEMBER_REFERENCE_CONTAINING
-
METHOD_DECLARATION_PARAMETER
public static final JRightPadded.Location METHOD_DECLARATION_PARAMETER
-
METHOD_INVOCATION_ARGUMENT
public static final JRightPadded.Location METHOD_INVOCATION_ARGUMENT
-
METHOD_SELECT
public static final JRightPadded.Location METHOD_SELECT
-
NAMED_VARIABLE
public static final JRightPadded.Location NAMED_VARIABLE
-
NEW_ARRAY_INITIALIZER
public static final JRightPadded.Location NEW_ARRAY_INITIALIZER
-
NEW_CLASS_ARGUMENTS
public static final JRightPadded.Location NEW_CLASS_ARGUMENTS
-
NEW_CLASS_ENCLOSING
public static final JRightPadded.Location NEW_CLASS_ENCLOSING
-
PACKAGE
public static final JRightPadded.Location PACKAGE
-
PARENTHESES
public static final JRightPadded.Location PARENTHESES
-
STATIC_INIT
public static final JRightPadded.Location STATIC_INIT
-
THROWS
public static final JRightPadded.Location THROWS
-
TRY_RESOURCE
public static final JRightPadded.Location TRY_RESOURCE
-
TYPE_PARAMETER
public static final JRightPadded.Location TYPE_PARAMETER
-
TYPE_BOUND
public static final JRightPadded.Location TYPE_BOUND
-
WHILE_BODY
public static final JRightPadded.Location WHILE_BODY
-
-
Method Detail
-
values
public static JRightPadded.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 (JRightPadded.Location c : JRightPadded.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 JRightPadded.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 Space.Location getAfterLocation()
-
-