Enum ControlFlowEdgeType
- java.lang.Object
-
- java.lang.Enum<ControlFlowEdgeType>
-
- com.strobel.decompiler.languages.java.analysis.ControlFlowEdgeType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ControlFlowEdgeType>
public enum ControlFlowEdgeType extends java.lang.Enum<ControlFlowEdgeType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ConditionFalse
Conditional control flow (edge taken if condition is false)ConditionTrue
Conditional control flow (edge taken if condition is true)Jump
A jump statement (goto, goto case, break or continue)Normal
Regular control flow.
-
Constructor Summary
Constructors Modifier Constructor Description private
ControlFlowEdgeType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ControlFlowEdgeType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ControlFlowEdgeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Normal
public static final ControlFlowEdgeType Normal
Regular control flow.
-
ConditionTrue
public static final ControlFlowEdgeType ConditionTrue
Conditional control flow (edge taken if condition is true)
-
ConditionFalse
public static final ControlFlowEdgeType ConditionFalse
Conditional control flow (edge taken if condition is false)
-
Jump
public static final ControlFlowEdgeType Jump
A jump statement (goto, goto case, break or continue)
-
-
Method Detail
-
values
public static ControlFlowEdgeType[] 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 (ControlFlowEdgeType c : ControlFlowEdgeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ControlFlowEdgeType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-