Package edu.umd.cs.findbugs.detect
Enum UselessSubclassMethod.State
- java.lang.Object
-
- java.lang.Enum<UselessSubclassMethod.State>
-
- edu.umd.cs.findbugs.detect.UselessSubclassMethod.State
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UselessSubclassMethod.State>
- Enclosing class:
- UselessSubclassMethod
static enum UselessSubclassMethod.State extends java.lang.Enum<UselessSubclassMethod.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SEEN_INVALID
SEEN_INVOKE
SEEN_LAST_PARM
SEEN_NOTHING
SEEN_PARM
SEEN_RETURN
-
Constructor Summary
Constructors Modifier Constructor Description private
State()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UselessSubclassMethod.State
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UselessSubclassMethod.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 UselessSubclassMethod.State SEEN_NOTHING
-
SEEN_PARM
public static final UselessSubclassMethod.State SEEN_PARM
-
SEEN_LAST_PARM
public static final UselessSubclassMethod.State SEEN_LAST_PARM
-
SEEN_INVOKE
public static final UselessSubclassMethod.State SEEN_INVOKE
-
SEEN_RETURN
public static final UselessSubclassMethod.State SEEN_RETURN
-
SEEN_INVALID
public static final UselessSubclassMethod.State SEEN_INVALID
-
-
Method Detail
-
values
public static UselessSubclassMethod.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 (UselessSubclassMethod.State c : UselessSubclassMethod.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 UselessSubclassMethod.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
-
-