Package org.sonar.java.se
Enum SymbolicExecutionMode
- java.lang.Object
-
- java.lang.Enum<SymbolicExecutionMode>
-
- org.sonar.java.se.SymbolicExecutionMode
-
- All Implemented Interfaces:
Serializable
,Comparable<SymbolicExecutionMode>
public enum SymbolicExecutionMode extends Enum<SymbolicExecutionMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISABLED
ENABLED
ENABLED_WITHOUT_X_FILE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SymbolicExecutionMode
getMode(JavaCheck[] visitors, boolean xFileEnabled)
boolean
isCrossFileEnabled()
boolean
isEnabled()
static SymbolicExecutionMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static SymbolicExecutionMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISABLED
public static final SymbolicExecutionMode DISABLED
-
ENABLED_WITHOUT_X_FILE
public static final SymbolicExecutionMode ENABLED_WITHOUT_X_FILE
-
ENABLED
public static final SymbolicExecutionMode ENABLED
-
-
Method Detail
-
values
public static SymbolicExecutionMode[] 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 (SymbolicExecutionMode c : SymbolicExecutionMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SymbolicExecutionMode 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
-
getMode
public static SymbolicExecutionMode getMode(JavaCheck[] visitors, boolean xFileEnabled)
-
isEnabled
public boolean isEnabled()
-
isCrossFileEnabled
public boolean isCrossFileEnabled()
-
-