Enum ControlFlowContext.SwitchJumpKind
- java.lang.Object
-
- java.lang.Enum<ControlFlowContext.SwitchJumpKind>
-
- com.tonic.analysis.source.recovery.ControlFlowContext.SwitchJumpKind
-
- All Implemented Interfaces:
Serializable,Comparable<ControlFlowContext.SwitchJumpKind>
- Enclosing class:
- ControlFlowContext
public static enum ControlFlowContext.SwitchJumpKind extends Enum<ControlFlowContext.SwitchJumpKind>
How an edge leaves a switch case - out at the merge, or on to the next case.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BREAK_SWITCHFALL_THROUGH
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ControlFlowContext.SwitchJumpKindvalueOf(String name)Returns the enum constant of this type with the specified name.static ControlFlowContext.SwitchJumpKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BREAK_SWITCH
public static final ControlFlowContext.SwitchJumpKind BREAK_SWITCH
-
FALL_THROUGH
public static final ControlFlowContext.SwitchJumpKind FALL_THROUGH
-
-
Method Detail
-
values
public static ControlFlowContext.SwitchJumpKind[] 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 (ControlFlowContext.SwitchJumpKind c : ControlFlowContext.SwitchJumpKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ControlFlowContext.SwitchJumpKind 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
-
-