private static enum PeepholeSubstituteAlternateSyntax.FoldArrayAction extends java.lang.Enum<PeepholeSubstituteAlternateSyntax.FoldArrayAction>
Enum Constant and Description |
---|
NOT_SAFE_TO_FOLD |
SAFE_TO_FOLD_WITH_ARGS |
SAFE_TO_FOLD_WITHOUT_ARGS |
Modifier and Type | Method and Description |
---|---|
static PeepholeSubstituteAlternateSyntax.FoldArrayAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PeepholeSubstituteAlternateSyntax.FoldArrayAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PeepholeSubstituteAlternateSyntax.FoldArrayAction NOT_SAFE_TO_FOLD
public static final PeepholeSubstituteAlternateSyntax.FoldArrayAction SAFE_TO_FOLD_WITH_ARGS
public static final PeepholeSubstituteAlternateSyntax.FoldArrayAction SAFE_TO_FOLD_WITHOUT_ARGS
public static PeepholeSubstituteAlternateSyntax.FoldArrayAction[] values()
for (PeepholeSubstituteAlternateSyntax.FoldArrayAction c : PeepholeSubstituteAlternateSyntax.FoldArrayAction.values()) System.out.println(c);
public static PeepholeSubstituteAlternateSyntax.FoldArrayAction 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