Package com.mebigfatguy.fbcontrib.detect
Enum UnnecessaryStoreBeforeReturn.State
- java.lang.Object
-
- java.lang.Enum<UnnecessaryStoreBeforeReturn.State>
-
- com.mebigfatguy.fbcontrib.detect.UnnecessaryStoreBeforeReturn.State
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UnnecessaryStoreBeforeReturn.State>
- Enclosing class:
- UnnecessaryStoreBeforeReturn
static enum UnnecessaryStoreBeforeReturn.State extends java.lang.Enum<UnnecessaryStoreBeforeReturn.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SEEN_LOAD
SEEN_NOTHING
SEEN_STORE
-
Constructor Summary
Constructors Modifier Constructor Description private
State()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UnnecessaryStoreBeforeReturn.State
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UnnecessaryStoreBeforeReturn.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SEEN_NOTHING
public static final UnnecessaryStoreBeforeReturn.State SEEN_NOTHING
-
SEEN_STORE
public static final UnnecessaryStoreBeforeReturn.State SEEN_STORE
-
SEEN_LOAD
public static final UnnecessaryStoreBeforeReturn.State SEEN_LOAD
-
-
Method Detail
-
values
public static UnnecessaryStoreBeforeReturn.State[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (UnnecessaryStoreBeforeReturn.State c : UnnecessaryStoreBeforeReturn.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UnnecessaryStoreBeforeReturn.State valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-