public enum LiteralKind extends Enum<LiteralKind>
These correspond to the *_LITERAL constants in Tree.Kind. However,
 that enum is in the tools.jar which is not on the user's classpath by default. This enum is used
 by meta-annotations, such as QualifierForLiterals, instead.
| Enum Constant and Description | 
|---|
| ALLShorthand for all other LiteralKind constants, other than PRIMITIVE. | 
| BOOLEANCorresponds to  Tree.Kind.BOOLEAN_LITERALtrees. | 
| CHARCorresponds to  Tree.Kind.CHAR_LITERALtrees. | 
| DOUBLECorresponds to  Tree.Kind.DOUBLE_LITERALtrees. | 
| FLOATCorresponds to  Tree.Kind.FLOAT_LITERALtrees. | 
| INTCorresponds to  Tree.Kind.INT_LITERALtrees. | 
| LONGCorresponds to  Tree.Kind.LONG_LITERALtrees. | 
| NULLCorresponds to  Tree.Kind.NULL_LITERALtrees. | 
| PRIMITIVEShorthand for all primitive LiteralKind constants: INT, LONG, FLOAT, DOUBLE, BOOLEAN, CHAR. | 
| STRINGCorresponds to  Tree.Kind.STRING_LITERALtrees. | 
| Modifier and Type | Method and Description | 
|---|---|
| static List<LiteralKind> | allLiteralKinds()Returns all LiteralKinds except for ALL and PRIMITIVE (which are shorthands for groups of
 other LiteralKinds). | 
| static List<LiteralKind> | primitiveLiteralKinds()Returns the primitive  LiteralKinds: INT, LONG, FLOAT, DOUBLE, BOOLEAN, CHAR. | 
| static LiteralKind | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static LiteralKind[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final LiteralKind NULL
Tree.Kind.NULL_LITERAL trees.public static final LiteralKind INT
Tree.Kind.INT_LITERAL trees.public static final LiteralKind LONG
Tree.Kind.LONG_LITERAL trees.public static final LiteralKind FLOAT
Tree.Kind.FLOAT_LITERAL trees.public static final LiteralKind DOUBLE
Tree.Kind.DOUBLE_LITERAL trees.public static final LiteralKind BOOLEAN
Tree.Kind.BOOLEAN_LITERAL trees.public static final LiteralKind CHAR
Tree.Kind.CHAR_LITERAL trees.public static final LiteralKind STRING
Tree.Kind.STRING_LITERAL trees.public static final LiteralKind ALL
public static final LiteralKind PRIMITIVE
public static LiteralKind[] values()
for (LiteralKind c : LiteralKind.values()) System.out.println(c);
public static LiteralKind valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static List<LiteralKind> allLiteralKinds()
public static List<LiteralKind> primitiveLiteralKinds()
LiteralKinds: INT, LONG, FLOAT, DOUBLE, BOOLEAN, CHAR. This is
 all LiteralKinds except for NULL, STRING, and ones that are shorthands for groups of other
 LiteralKinds.