public enum OperatorGeneratorArgumentType extends java.lang.Enum<OperatorGeneratorArgumentType>
Enum Constant and Description |
---|
EXPRESSION
If an argument type to an OperatorGenerator is of the EXPRESSION type, then the text that appears in an invocation of the operator generator should be compilable as a valid expression in its own right.
|
EXPRESSIONWITHSCOPE
If an argument type to an OperatorGenerator is of the EXPRESSIONWITHSCOPE type, then the text that appears in an invocation of the operator generator should be compilable as a valid expression in the scope generated by another expression.
|
STRING
If an argument type to an OperatorGenerator is of the STRING type, then the text that appears in an invocation of the operator generator denotes "amends" that allow to "generate" the specifics of the operator.
|
Modifier and Type | Method and Description |
---|---|
static OperatorGeneratorArgumentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OperatorGeneratorArgumentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperatorGeneratorArgumentType EXPRESSION
public static final OperatorGeneratorArgumentType EXPRESSIONWITHSCOPE
public static final OperatorGeneratorArgumentType STRING
public static OperatorGeneratorArgumentType[] values()
for (OperatorGeneratorArgumentType c : OperatorGeneratorArgumentType.values()) System.out.println(c);
public static OperatorGeneratorArgumentType 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