Package org.jtool.cfg

Enum Class ControlFlow.Kind

java.lang.Object
java.lang.Enum<ControlFlow.Kind>
org.jtool.cfg.ControlFlow.Kind
All Implemented Interfaces:
Serializable, Comparable<ControlFlow.Kind>, Constable
Enclosing class:
ControlFlow

public static enum ControlFlow.Kind extends Enum<ControlFlow.Kind>
The kind of a control flow edge.
  • Enum Constant Details

    • trueControlFlow

      public static final ControlFlow.Kind trueControlFlow
      Representing the control flow outgoing to a true-branch in CFG.
    • falseControlFlow

      public static final ControlFlow.Kind falseControlFlow
      Representing the control flow outgoing to a false-branch in CFG.
    • fallThroughFlow

      public static final ControlFlow.Kind fallThroughFlow
      Representing the control flow outgoing to a fall-through in CFG.
    • callFlow

      public static final ControlFlow.Kind callFlow
      Representing the call to a method in CFG.
    • exceptionCatchFlow

      public static final ControlFlow.Kind exceptionCatchFlow
      Representing relationship between an exception occurrence and its catch clause in CFG.
    • undefined

      public static final ControlFlow.Kind undefined
      Representing the uncategorized flow.
  • Method Details

    • values

      public static ControlFlow.Kind[] 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

      public static ControlFlow.Kind valueOf(String name)
      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 name
      NullPointerException - if the argument is null