Enum OperatorToken
- java.lang.Object
-
- java.lang.Enum<OperatorToken>
-
- org.openrewrite.checkstyle.policy.OperatorToken
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<OperatorToken>
public enum OperatorToken extends java.lang.Enum<OperatorToken>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASSIGNBANDBAND_ASSIGNBORBOR_ASSIGNBSRBSR_ASSIGNBXORBXOR_ASSIGNCOLONDIVDIV_ASSIGNEQUALGEGTLANDLELITERAL_INSTANCEOFLORLTMETHOD_REFMINUSMINUS_ASSIGNMODMOD_ASSIGNNOT_EQUALPLUSPLUS_ASSIGNQUESTIONSLSL_ASSIGNSRSR_ASSIGNSTARSTAR_ASSIGNTYPE_EXTENSION_AND
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OperatorTokenvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static OperatorToken[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUESTION
public static final OperatorToken QUESTION
-
COLON
public static final OperatorToken COLON
-
EQUAL
public static final OperatorToken EQUAL
-
NOT_EQUAL
public static final OperatorToken NOT_EQUAL
-
DIV
public static final OperatorToken DIV
-
PLUS
public static final OperatorToken PLUS
-
MINUS
public static final OperatorToken MINUS
-
STAR
public static final OperatorToken STAR
-
MOD
public static final OperatorToken MOD
-
SR
public static final OperatorToken SR
-
BSR
public static final OperatorToken BSR
-
GE
public static final OperatorToken GE
-
GT
public static final OperatorToken GT
-
SL
public static final OperatorToken SL
-
LE
public static final OperatorToken LE
-
LT
public static final OperatorToken LT
-
BXOR
public static final OperatorToken BXOR
-
BOR
public static final OperatorToken BOR
-
LOR
public static final OperatorToken LOR
-
BAND
public static final OperatorToken BAND
-
LAND
public static final OperatorToken LAND
-
LITERAL_INSTANCEOF
public static final OperatorToken LITERAL_INSTANCEOF
-
TYPE_EXTENSION_AND
public static final OperatorToken TYPE_EXTENSION_AND
-
ASSIGN
public static final OperatorToken ASSIGN
-
DIV_ASSIGN
public static final OperatorToken DIV_ASSIGN
-
PLUS_ASSIGN
public static final OperatorToken PLUS_ASSIGN
-
MINUS_ASSIGN
public static final OperatorToken MINUS_ASSIGN
-
STAR_ASSIGN
public static final OperatorToken STAR_ASSIGN
-
MOD_ASSIGN
public static final OperatorToken MOD_ASSIGN
-
SR_ASSIGN
public static final OperatorToken SR_ASSIGN
-
BSR_ASSIGN
public static final OperatorToken BSR_ASSIGN
-
SL_ASSIGN
public static final OperatorToken SL_ASSIGN
-
BXOR_ASSIGN
public static final OperatorToken BXOR_ASSIGN
-
BOR_ASSIGN
public static final OperatorToken BOR_ASSIGN
-
BAND_ASSIGN
public static final OperatorToken BAND_ASSIGN
-
METHOD_REF
public static final OperatorToken METHOD_REF
-
-
Method Detail
-
values
public static OperatorToken[] 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 (OperatorToken c : OperatorToken.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperatorToken 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
-
-