lombok.javac.handlers
Enum JavacResolver
java.lang.Object
java.lang.Enum<JavacResolver>
lombok.javac.handlers.JavacResolver
- All Implemented Interfaces:
- Serializable, Comparable<JavacResolver>
public enum JavacResolver
- extends Enum<JavacResolver>
|
Method Summary |
abstract com.sun.tools.javac.code.Type |
resolveMember(JavacNode node,
com.sun.tools.javac.tree.JCTree.JCExpression expr)
|
static JavacResolver |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static JavacResolver[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
CLASS
public static final JavacResolver CLASS
METHOD
public static final JavacResolver METHOD
CLASS_AND_METHOD
public static final JavacResolver CLASS_AND_METHOD
values
public static JavacResolver[] 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 (JavacResolver c : JavacResolver.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static JavacResolver 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
resolveMember
public abstract com.sun.tools.javac.code.Type resolveMember(JavacNode node,
com.sun.tools.javac.tree.JCTree.JCExpression expr)
Copyright © 2009-2011 The Project Lombok Authors, licensed under the MIT licence.