Enum PunctuationToken
- java.lang.Object
-
- java.lang.Enum<PunctuationToken>
-
- org.openrewrite.checkstyle.policy.PunctuationToken
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PunctuationToken>
public enum PunctuationToken extends java.lang.Enum<PunctuationToken>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARRAY_DECLARATORARRAY_INITATBNOTCOMMADECDOTELLIPSISGENERIC_ENDGENERIC_STARTINCINDEX_OPLITERAL_SYNCHRONIZEDLNOTMETHOD_REFPOST_DECPOST_INCSEMITYPECASTUNARY_MINUSUNARY_PLUS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PunctuationTokenvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PunctuationToken[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMMA
public static final PunctuationToken COMMA
-
SEMI
public static final PunctuationToken SEMI
-
POST_INC
public static final PunctuationToken POST_INC
-
POST_DEC
public static final PunctuationToken POST_DEC
-
DOT
public static final PunctuationToken DOT
-
GENERIC_START
public static final PunctuationToken GENERIC_START
-
GENERIC_END
public static final PunctuationToken GENERIC_END
-
ELLIPSIS
public static final PunctuationToken ELLIPSIS
-
METHOD_REF
public static final PunctuationToken METHOD_REF
-
ARRAY_INIT
public static final PunctuationToken ARRAY_INIT
-
AT
public static final PunctuationToken AT
-
INC
public static final PunctuationToken INC
-
DEC
public static final PunctuationToken DEC
-
UNARY_MINUS
public static final PunctuationToken UNARY_MINUS
-
UNARY_PLUS
public static final PunctuationToken UNARY_PLUS
-
BNOT
public static final PunctuationToken BNOT
-
LNOT
public static final PunctuationToken LNOT
-
TYPECAST
public static final PunctuationToken TYPECAST
-
ARRAY_DECLARATOR
public static final PunctuationToken ARRAY_DECLARATOR
-
INDEX_OP
public static final PunctuationToken INDEX_OP
-
LITERAL_SYNCHRONIZED
public static final PunctuationToken LITERAL_SYNCHRONIZED
-
-
Method Detail
-
values
public static PunctuationToken[] 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 (PunctuationToken c : PunctuationToken.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PunctuationToken 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
-
-