public enum Optimization extends java.lang.Enum<Optimization>
| Enum Constant and Description |
|---|
MERGE_LINES |
REMOVE_EMPTY_STATEMENTS |
REMOVE_REM_STATEMENTS |
RENUMBER |
| Modifier and Type | Method and Description |
|---|---|
Visitor |
create(Configuration config) |
static Optimization |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Optimization[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Optimization REMOVE_EMPTY_STATEMENTS
public static final Optimization REMOVE_REM_STATEMENTS
public static final Optimization MERGE_LINES
public static final Optimization RENUMBER
public static Optimization[] values()
for (Optimization c : Optimization.values()) System.out.println(c);
public static Optimization 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 nullpublic Visitor create(Configuration config)