Package com.mebigfatguy.fbcontrib.detect
Enum NeedlessAutoboxing.State
- java.lang.Object
-
- java.lang.Enum<NeedlessAutoboxing.State>
-
- com.mebigfatguy.fbcontrib.detect.NeedlessAutoboxing.State
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<NeedlessAutoboxing.State>
- Enclosing class:
- NeedlessAutoboxing
static enum NeedlessAutoboxing.State extends java.lang.Enum<NeedlessAutoboxing.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SEEN_CTOR
SEEN_GETSTATIC
SEEN_ICONST
SEEN_NOTHING
SEEN_PARSE
SEEN_VALUE
SEEN_VALUEOFPRIMITIVE
SEEN_VALUEOFSTRING
-
Constructor Summary
Constructors Modifier Constructor Description private
State()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NeedlessAutoboxing.State
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NeedlessAutoboxing.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 NeedlessAutoboxing.State SEEN_NOTHING
-
SEEN_VALUE
public static final NeedlessAutoboxing.State SEEN_VALUE
-
SEEN_VALUEOFSTRING
public static final NeedlessAutoboxing.State SEEN_VALUEOFSTRING
-
SEEN_PARSE
public static final NeedlessAutoboxing.State SEEN_PARSE
-
SEEN_CTOR
public static final NeedlessAutoboxing.State SEEN_CTOR
-
SEEN_VALUEOFPRIMITIVE
public static final NeedlessAutoboxing.State SEEN_VALUEOFPRIMITIVE
-
SEEN_ICONST
public static final NeedlessAutoboxing.State SEEN_ICONST
-
SEEN_GETSTATIC
public static final NeedlessAutoboxing.State SEEN_GETSTATIC
-
-
Method Detail
-
values
public static NeedlessAutoboxing.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 (NeedlessAutoboxing.State c : NeedlessAutoboxing.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 NeedlessAutoboxing.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
-
-