Package org.jtool.cfg
Enum Class ControlFlow.Kind
- All Implemented Interfaces:
Serializable
,Comparable<ControlFlow.Kind>
,Constable
- Enclosing class:
- ControlFlow
The kind of a control flow edge.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresenting the call to a method inCFG
.Representing relationship between an exception occurrence and its catch clause inCFG
.Representing the control flow outgoing to a fall-through inCFG
.Representing the control flow outgoing to a false-branch inCFG
.Representing the control flow outgoing to a true-branch inCFG
.Representing the uncategorized flow. -
Method Summary
Modifier and TypeMethodDescriptionstatic ControlFlow.Kind
Returns the enum constant of this class with the specified name.static ControlFlow.Kind[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
trueControlFlow
Representing the control flow outgoing to a true-branch inCFG
. -
falseControlFlow
Representing the control flow outgoing to a false-branch inCFG
. -
fallThroughFlow
Representing the control flow outgoing to a fall-through inCFG
. -
callFlow
Representing the call to a method inCFG
. -
exceptionCatchFlow
Representing relationship between an exception occurrence and its catch clause inCFG
. -
undefined
Representing the uncategorized flow.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-