Package daikon.suppress
Enum NIS.SuppressState
- Object
-
- Enum<NIS.SuppressState>
-
- SuppressState
-
- All Implemented Interfaces:
Serializable
,Comparable<NIS.SuppressState>
- Enclosing class:
- NIS
public static enum NIS.SuppressState extends Enum<NIS.SuppressState>
Possible states for suppressors and suppressions. When a suppression is checked, it sets one of these states on each suppressor.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INVALID
suppressor is not trueMATCH
suppressor matches the falsified invariantNONE
initial state -- suppressor has not been checked yetNONSENSICAL
suppressor contains a variable that has always been nonsensicalVALID
suppressor is true
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NIS.SuppressState
valueOf(String name)
Returns the enum constant of this type with the specified name.static NIS.SuppressState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final NIS.SuppressState NONE
initial state -- suppressor has not been checked yet
-
MATCH
public static final NIS.SuppressState MATCH
suppressor matches the falsified invariant
-
VALID
public static final NIS.SuppressState VALID
suppressor is true
-
INVALID
public static final NIS.SuppressState INVALID
suppressor is not true
-
NONSENSICAL
public static final NIS.SuppressState NONSENSICAL
suppressor contains a variable that has always been nonsensical
-
-
Method Detail
-
values
public static NIS.SuppressState[] 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 (NIS.SuppressState c : NIS.SuppressState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NIS.SuppressState valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-