Enum ControlFlowContext.JumpKind
- java.lang.Object
-
- java.lang.Enum<ControlFlowContext.JumpKind>
-
- com.tonic.analysis.source.recovery.ControlFlowContext.JumpKind
-
- All Implemented Interfaces:
Serializable,Comparable<ControlFlowContext.JumpKind>
- Enclosing class:
- ControlFlowContext
public static enum ControlFlowContext.JumpKind extends Enum<ControlFlowContext.JumpKind>
Which loop boundary an edge crosses.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ControlFlowContext.JumpKindvalueOf(String name)Returns the enum constant of this type with the specified name.static ControlFlowContext.JumpKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BREAK
public static final ControlFlowContext.JumpKind BREAK
-
CONTINUE
public static final ControlFlowContext.JumpKind CONTINUE
-
-
Method Detail
-
values
public static ControlFlowContext.JumpKind[] 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.JumpKind c : ControlFlowContext.JumpKind.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.JumpKind 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
-
-