Enum ParenthesesToken
- java.lang.Object
-
- java.lang.Enum<ParenthesesToken>
-
- org.openrewrite.checkstyle.policy.ParenthesesToken
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ParenthesesToken>
public enum ParenthesesToken extends java.lang.Enum<ParenthesesToken>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASSIGNBAND_ASSIGNBOR_ASSIGNBSR_ASSIGNBXOR_ASSIGNDIV_ASSIGNEXPRIDENTLAMBDALITERAL_FALSELITERAL_NULLLITERAL_TRUEMINUS_ASSIGNMOD_ASSIGNNUM_DOUBLENUM_FLOATNUM_INTNUM_LONGPLUS_ASSIGNSL_ASSIGNSR_ASSIGNSTAR_ASSIGNSTRING_LITERAL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ParenthesesTokenvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ParenthesesToken[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXPR
public static final ParenthesesToken EXPR
-
IDENT
public static final ParenthesesToken IDENT
-
NUM_DOUBLE
public static final ParenthesesToken NUM_DOUBLE
-
NUM_FLOAT
public static final ParenthesesToken NUM_FLOAT
-
NUM_INT
public static final ParenthesesToken NUM_INT
-
NUM_LONG
public static final ParenthesesToken NUM_LONG
-
STRING_LITERAL
public static final ParenthesesToken STRING_LITERAL
-
LITERAL_NULL
public static final ParenthesesToken LITERAL_NULL
-
LITERAL_FALSE
public static final ParenthesesToken LITERAL_FALSE
-
LITERAL_TRUE
public static final ParenthesesToken LITERAL_TRUE
-
ASSIGN
public static final ParenthesesToken ASSIGN
-
BAND_ASSIGN
public static final ParenthesesToken BAND_ASSIGN
-
BOR_ASSIGN
public static final ParenthesesToken BOR_ASSIGN
-
BSR_ASSIGN
public static final ParenthesesToken BSR_ASSIGN
-
BXOR_ASSIGN
public static final ParenthesesToken BXOR_ASSIGN
-
DIV_ASSIGN
public static final ParenthesesToken DIV_ASSIGN
-
MINUS_ASSIGN
public static final ParenthesesToken MINUS_ASSIGN
-
MOD_ASSIGN
public static final ParenthesesToken MOD_ASSIGN
-
PLUS_ASSIGN
public static final ParenthesesToken PLUS_ASSIGN
-
SL_ASSIGN
public static final ParenthesesToken SL_ASSIGN
-
SR_ASSIGN
public static final ParenthesesToken SR_ASSIGN
-
STAR_ASSIGN
public static final ParenthesesToken STAR_ASSIGN
-
LAMBDA
public static final ParenthesesToken LAMBDA
-
-
Method Detail
-
values
public static ParenthesesToken[] 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 (ParenthesesToken c : ParenthesesToken.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ParenthesesToken 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
-
-