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:
Serializable
,Comparable<FindNoSideEffectMethods.SideEffectStatus>
,java.lang.constant.Constable
- Enclosing class:
FindNoSideEffectMethods
private static enum FindNoSideEffectMethods.SideEffectStatus
extends Enum<FindNoSideEffectMethods.SideEffectStatus>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) FindNoSideEffectMethods.SideEffectStatus
(package private) FindNoSideEffectMethods.SideEffectStatus
toSure()
(package private) FindNoSideEffectMethods.SideEffectStatus
toUnsure()
(package private) boolean
unsure()
Returns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SIDE_EFFECT
-
UNSURE_OBJECT_ONLY
-
OBJECT_ONLY
-
UNSURE
-
NO_SIDE_EFFECT
-
-
Constructor Details
-
SideEffectStatus
private SideEffectStatus()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
unsure
boolean unsure() -
toObjectOnly
FindNoSideEffectMethods.SideEffectStatus toObjectOnly() -
toUnsure
FindNoSideEffectMethods.SideEffectStatus toUnsure() -
toSure
-