Enum ControlFlowNodeType
- java.lang.Object
-
- java.lang.Enum<ControlFlowNodeType>
-
- com.strobel.assembler.flowanalysis.ControlFlowNodeType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ControlFlowNodeType>
public enum ControlFlowNodeType extends java.lang.Enum<ControlFlowNodeType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CatchHandler
EndFinally
EntryPoint
ExceptionalExit
FinallyHandler
Normal
RegularExit
-
Constructor Summary
Constructors Modifier Constructor Description private
ControlFlowNodeType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ControlFlowNodeType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ControlFlowNodeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Normal
public static final ControlFlowNodeType Normal
-
EntryPoint
public static final ControlFlowNodeType EntryPoint
-
RegularExit
public static final ControlFlowNodeType RegularExit
-
ExceptionalExit
public static final ControlFlowNodeType ExceptionalExit
-
CatchHandler
public static final ControlFlowNodeType CatchHandler
-
FinallyHandler
public static final ControlFlowNodeType FinallyHandler
-
EndFinally
public static final ControlFlowNodeType EndFinally
-
-
Method Detail
-
values
public static ControlFlowNodeType[] 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 (ControlFlowNodeType c : ControlFlowNodeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ControlFlowNodeType 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
-
-