Lombok - v0.10.8

lombok.core
Enum AST.Kind

java.lang.Object
  extended by java.lang.Enum<AST.Kind>
      extended by 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.


Enum Constant Summary
ANNOTATION
           
ARGUMENT
           
COMPILATION_UNIT
           
FIELD
           
INITIALIZER
           
LOCAL
           
METHOD
           
STATEMENT
           
TYPE
           
 
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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

Lombok - v0.10.8

Copyright © 2009-2011 The Project Lombok Authors, licensed under the MIT licence.