Package pascal.taie.analysis.graph.cfg
Enum Class CFGEdge.Kind
- All Implemented Interfaces:
Serializable
,Comparable<CFGEdge.Kind>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionEdge representing exceptional control flow from an exception-raising node to an explicit handler for the exception.Edge from entry node to real start node.Edge kind for fall-through to next statement.Edge kind for goto statements.Edge kind for if statements when condition is false.Edge kind for if statements when condition is true.Edge kind for return statements.Edge kind for switch statements (explicit case).Edge kind for switch statements (default case).Edge representing the possibility that a node raise an exception that cannot be caught by the current method. -
Method Summary
Modifier and TypeMethodDescriptionstatic CFGEdge.Kind
Returns the enum constant of this class with the specified name.static CFGEdge.Kind[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ENTRY
Edge from entry node to real start node. -
FALL_THROUGH
Edge kind for fall-through to next statement. -
GOTO
Edge kind for goto statements. -
IF_TRUE
Edge kind for if statements when condition is true. -
IF_FALSE
Edge kind for if statements when condition is false. -
SWITCH_CASE
Edge kind for switch statements (explicit case). -
SWITCH_DEFAULT
Edge kind for switch statements (default case). -
CAUGHT_EXCEPTION
Edge representing exceptional control flow from an exception-raising node to an explicit handler for the exception. -
UNCAUGHT_EXCEPTION
Edge representing the possibility that a node raise an exception that cannot be caught by the current method. These edges always go to the exit node of the CFG. -
RETURN
Edge kind for return statements. These edges always go to the exit node of the CFG.
-
-
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
-