Package edu.umd.cs.findbugs.detect
Enum FormatStringChecker.FormatState
- java.lang.Object
-
- java.lang.Enum<FormatStringChecker.FormatState>
-
- edu.umd.cs.findbugs.detect.FormatStringChecker.FormatState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FormatStringChecker.FormatState>
- Enclosing class:
- FormatStringChecker
static enum FormatStringChecker.FormatState extends java.lang.Enum<FormatStringChecker.FormatState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXPECTING_ASSIGNMENT
NONE
READY_FOR_FORMAT
-
Constructor Summary
Constructors Modifier Constructor Description private
FormatState()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FormatStringChecker.FormatState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FormatStringChecker.FormatState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final FormatStringChecker.FormatState NONE
-
READY_FOR_FORMAT
public static final FormatStringChecker.FormatState READY_FOR_FORMAT
-
EXPECTING_ASSIGNMENT
public static final FormatStringChecker.FormatState EXPECTING_ASSIGNMENT
-
-
Method Detail
-
values
public static FormatStringChecker.FormatState[] 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 (FormatStringChecker.FormatState c : FormatStringChecker.FormatState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FormatStringChecker.FormatState 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
-
-