lombok.core
Enum AST.Kind
java.lang.Object
java.lang.Enum<AST.Kind>
lombok.core.AST.Kind
- All Implemented Interfaces:
- Serializable, Comparable<AST.Kind>
- Enclosing class:
- AST<A extends AST<A,L,N>,L extends LombokNode<A,L,N>,N>
public static enum AST.Kind
- extends Enum<AST.Kind>
The kind of node represented by a given AST.Node object.
|
Method Summary |
static AST.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AST.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
COMPILATION_UNIT
public static final AST.Kind COMPILATION_UNIT
TYPE
public static final AST.Kind TYPE
FIELD
public static final AST.Kind FIELD
INITIALIZER
public static final AST.Kind INITIALIZER
METHOD
public static final AST.Kind METHOD
ANNOTATION
public static final AST.Kind ANNOTATION
ARGUMENT
public static final AST.Kind ARGUMENT
LOCAL
public static final AST.Kind LOCAL
STATEMENT
public static final AST.Kind STATEMENT
values
public static AST.Kind[] 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 (AST.Kind c : AST.Kind.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AST.Kind valueOf(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:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2009-2011 The Project Lombok Authors, licensed under the MIT licence.