public static enum UnderlyingAST.Kind extends Enum<UnderlyingAST.Kind>
Enum Constant and Description |
---|
ARBITRARY_CODE
The underlying code is an arbitrary Java statement or expression.
|
LAMBDA
The underlying code is a lambda expression.
|
METHOD
The underlying code is a whole method.
|
Modifier and Type | Method and Description |
---|---|
static UnderlyingAST.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnderlyingAST.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnderlyingAST.Kind METHOD
public static final UnderlyingAST.Kind LAMBDA
public static final UnderlyingAST.Kind ARBITRARY_CODE
public static UnderlyingAST.Kind[] values()
for (UnderlyingAST.Kind c : UnderlyingAST.Kind.values()) System.out.println(c);
public static UnderlyingAST.Kind 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 null