Package org.openrewrite.java.tree
Enum JLeftPadded.Location
- java.lang.Object
-
- java.lang.Enum<JLeftPadded.Location>
-
- org.openrewrite.java.tree.JLeftPadded.Location
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<JLeftPadded.Location>
- Enclosing class:
- JLeftPadded<T>
public static enum JLeftPadded.Location extends java.lang.Enum<JLeftPadded.Location>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Space.LocationgetBeforeLocation()static JLeftPadded.LocationvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static JLeftPadded.Location[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ASSERT_DETAIL
public static final JLeftPadded.Location ASSERT_DETAIL
-
ASSIGNMENT
public static final JLeftPadded.Location ASSIGNMENT
-
ASSIGNMENT_OPERATION_OPERATOR
public static final JLeftPadded.Location ASSIGNMENT_OPERATION_OPERATOR
-
BINARY_OPERATOR
public static final JLeftPadded.Location BINARY_OPERATOR
-
CLASS_KIND
public static final JLeftPadded.Location CLASS_KIND
-
EXTENDS
public static final JLeftPadded.Location EXTENDS
-
FIELD_ACCESS_NAME
public static final JLeftPadded.Location FIELD_ACCESS_NAME
-
MEMBER_REFERENCE_NAME
public static final JLeftPadded.Location MEMBER_REFERENCE_NAME
-
METHOD_DECLARATION_DEFAULT_VALUE
public static final JLeftPadded.Location METHOD_DECLARATION_DEFAULT_VALUE
-
STATIC_IMPORT
public static final JLeftPadded.Location STATIC_IMPORT
-
TERNARY_TRUE
public static final JLeftPadded.Location TERNARY_TRUE
-
TERNARY_FALSE
public static final JLeftPadded.Location TERNARY_FALSE
-
TRY_FINALLY
public static final JLeftPadded.Location TRY_FINALLY
-
UNARY_OPERATOR
public static final JLeftPadded.Location UNARY_OPERATOR
-
VARIABLE_INITIALIZER
public static final JLeftPadded.Location VARIABLE_INITIALIZER
-
WHILE_CONDITION
public static final JLeftPadded.Location WHILE_CONDITION
-
-
Method Detail
-
values
public static JLeftPadded.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 (JLeftPadded.Location c : JLeftPadded.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 JLeftPadded.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
-
getBeforeLocation
public Space.Location getBeforeLocation()
-
-