public static enum UnderlyingAST.Kind extends java.lang.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(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null