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