Package org.jtool.cfg

Enum Class CFGNode.Kind

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

public static enum CFGNode.Kind extends Enum<CFGNode.Kind>
The kind of a CFG node.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Representing the node for an actual-in parameter in a method call, which is an instance of CFGParameter.
    Representing the node for an actual-out parameter in a method call, which is an instance of CFGParameter.
    Representing the node for an actual-out parameter regarding the field value in a method call, which is an instance of CFGParameter.
    Representing the node for an assert statement, which is an instance of CFGStatement in CFG.
    Representing the node for an assignment expression, which is an instance of CFGStatement in CFG.
    Representing the node for a break statement, which is an instance of CFGStatement in CFG.
    Representing the node for a catch clause, which is an instance of CFGStatement in CFG.
    Representing the start node for a class declaration, which is an instance of CFGClassEntry in CCFG.
    Representing the end node for a class declaration, which is an instance of CFGExit in CCFG.
    Representing the node for a conditional expression, which is an instance of CFGStatement in CFG.
    Representing the node for a constructor call expression, which is an instance of CFGMethodCall in CFG.
    Representing the start node of a constructor declaration, which is an instance of CFGMethodEntry in CFG.
    Representing the end node for a constructor declaration, which is an instance of CFGExit in CFG.
    Representing the node for a continue statement, which is an instance of CFGStatement in CFG.
    Representing the node for a do statement, which is an instance of CFGStatement in CFG.
    Representing the dummy node, which is an instance of CFGDummy in CFG.
    Representing the node for an empty statement, which is an instance of CFGStatement in CFG.
    Representing the node for an enhanced-for statement, which is an instance of CFGStatement in CFG.
    Representing the node for an enum constant variable declaration, which is an instance of CFGStatement in CFG.
    Representing the start node for an enum constant declaration, which is an instance of CFGFieldEntry in CFG.
    Representing the end node for an enum constant declaration, which is an instance of CFGExit in CFG.
    Representing the start node for an enum declaration, which is an instance of CFGClassEntry in CCFG.
    Representing the end node for an enum declaration, which is an instance of CFGExit in CCFG.
    Representing the node for a field variable declaration, which is an instance of CFGStatement in CFG.
    Representing the start node for a field declaration, which is an instance of CFGFieldEntry in CFG.
    Representing the end node for a field declaration, which is an instance of CFGExit in CFG.
    Representing the node for a finally clause, which is an instance of CFGStatement in CFG.
    Representing the node for a formal-in parameter in a method declaration, which is an instance of CFGParameter.
    Representing the node for a formal-out parameter in a method declaration, which is an instance of CFGParameter.
    Representing the node for a for statement, which is an instance of CFGStatement in CFG.
    Representing the node for an if statement, which is an instance of CFGStatement in CFG.
    Representing the start node for an initializer declaration, which is an instance of CFGInitializerEntry in CFG.
    Representing the end node for an initializer declaration, which is an instance of CFGExit in CFG.
    Representing the node for an instance creation (new) expression which is an instance of CFGMethodCall in CFG.
    Representing the start node for an interface declaration, which is an instance of CFGClassEntry in CCFG.
    Representing the end node for an interface declaration, which is an instance of CFGExit in CCFG.
    Representing the node for a label statement, which is an instance of CFGStatement in CFG.
    Representing the node for a lambda expression, which is an instance of CFGStatement in CFG.
    Representing the node for a local variable declaration, which is an instance of CFGStatement in CFG.
    Representing the merge node of a branch or a loop, which is an instance of CFGMerge in CFG.
    Representing the node for a method call expression, which is an instance of CFGMethodCall in CFG.
    Representing the start node for a method declaration, which is an instance of CFGMethodEntry in CFG.
    Representing the end node for a method declaration, which is an instance of CFGExit in CFG.
    Representing the node for a receiver object in a method call, which is an instance of CFGParameter.
    Representing the node for a return statement, which is an instance of CFGStatement in CFG.
    Representing the node for a switch case statement, which is an instance of CFGStatement in CFG.
    Representing the node for a switch-default statement, which is an instance of CFGStatement in CFG.
    Representing the node for a switch expression, which is an instance of CFGStatement in CFG.
    Representing the node for a switch statement, which is an instance of CFGStatement in CFG.
    Representing the node for a synchronized statement, which is an instance of CFGStatement in CFG.
    Representing the node for a throws clause, which is an instance of CFGStatement in CFG.
    Representing the node for a throw statement, which is an instance of CFGStatement in CFG.
    Representing the node for a try statement, which is an instance of CFGStatement in CFG.
    Representing the node for a while statement, which is an instance of CFGStatement in CFG.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    static CFGNode.Kind[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • classEntry

      public static final CFGNode.Kind classEntry
      Representing the start node for a class declaration, which is an instance of CFGClassEntry in CCFG. It corresponds to TypeDeclaration or AnonymousClassDeclaration in the JDT Core module.
    • interfaceEntry

      public static final CFGNode.Kind interfaceEntry
      Representing the start node for an interface declaration, which is an instance of CFGClassEntry in CCFG. It corresponds to TypeDeclaration or AnonymousClassDeclaration in the JDT Core module.
    • enumEntry

      public static final CFGNode.Kind enumEntry
      Representing the start node for an enum declaration, which is an instance of CFGClassEntry in CCFG. It corresponds to EnumDeclaration in the JDT Core module.
    • classExit

      public static final CFGNode.Kind classExit
      Representing the end node for a class declaration, which is an instance of CFGExit in CCFG. There is no corresponding node in the JDT Core module.
    • interfaceExit

      public static final CFGNode.Kind interfaceExit
      Representing the end node for an interface declaration, which is an instance of CFGExit in CCFG. There is no corresponding node in the JDT Core module.
    • enumExit

      public static final CFGNode.Kind enumExit
      Representing the end node for an enum declaration, which is an instance of CFGExit in CCFG. There is no corresponding node in the JDT Core module.
    • methodEntry

      public static final CFGNode.Kind methodEntry
      Representing the start node for a method declaration, which is an instance of CFGMethodEntry in CFG. It corresponds to MethodDeclaration in the JDT Core module.
    • constructorEntry

      public static final CFGNode.Kind constructorEntry
      Representing the start node of a constructor declaration, which is an instance of CFGMethodEntry in CFG. It corresponds to MethodDeclaration in the JDT Core module.
    • initializerEntry

      public static final CFGNode.Kind initializerEntry
      Representing the start node for an initializer declaration, which is an instance of CFGInitializerEntry in CFG. It corresponds to Initializer in the JDT Core module.
    • fieldEntry

      public static final CFGNode.Kind fieldEntry
      Representing the start node for a field declaration, which is an instance of CFGFieldEntry in CFG. It corresponds to VariableDeclarationFragment or FieldDeclaration in the JDT Core module.
    • enumConstantEntry

      public static final CFGNode.Kind enumConstantEntry
      Representing the start node for an enum constant declaration, which is an instance of CFGFieldEntry in CFG. It corresponds to EnumConstantDeclaration in the JDT Core module.
    • methodExit

      public static final CFGNode.Kind methodExit
      Representing the end node for a method declaration, which is an instance of CFGExit in CFG. There is no corresponding node in the JDT Core module.
    • constructorExit

      public static final CFGNode.Kind constructorExit
      Representing the end node for a constructor declaration, which is an instance of CFGExit in CFG. There is no corresponding node in the JDT Core module.
    • initializerExit

      public static final CFGNode.Kind initializerExit
      Representing the end node for an initializer declaration, which is an instance of CFGExit in CFG. There is no corresponding node in the JDT Core module.
    • fieldExit

      public static final CFGNode.Kind fieldExit
      Representing the end node for a field declaration, which is an instance of CFGExit in CFG. There is no corresponding node in the JDT Core module.
    • enumConstantExit

      public static final CFGNode.Kind enumConstantExit
      Representing the end node for an enum constant declaration, which is an instance of CFGExit in CFG. There is no corresponding node in the JDT Core module.
    • assignment

      public static final CFGNode.Kind assignment
      Representing the node for an assignment expression, which is an instance of CFGStatement in CFG. It corresponds to Assignment in the JDT Core module.
    • lambda

      public static final CFGNode.Kind lambda
      Representing the node for a lambda expression, which is an instance of CFGStatement in CFG. It corresponds to LambdaExpression in the JDT Core module.
    • conditionalExpression

      public static final CFGNode.Kind conditionalExpression
      Representing the node for a conditional expression, which is an instance of CFGStatement in CFG. It corresponds to ConditionalExpression in the JDT Core module.
    • switchExpression

      public static final CFGNode.Kind switchExpression
      Representing the node for a switch expression, which is an instance of CFGStatement in CFG. It corresponds to SwitchExpression in the JDT Core module.
    • methodCall

      public static final CFGNode.Kind methodCall
      Representing the node for a method call expression, which is an instance of CFGMethodCall in CFG. It corresponds to MethodInvocation or SuperMethodInvocation in the JDT Core module.
    • constructorCall

      public static final CFGNode.Kind constructorCall
      Representing the node for a constructor call expression, which is an instance of CFGMethodCall in CFG. It corresponds to ConstructorInvocation or SuperConstructorInvocation in the JDT Core module.
    • instanceCreation

      public static final CFGNode.Kind instanceCreation
      Representing the node for an instance creation (new) expression which is an instance of CFGMethodCall in CFG. It corresponds to InstanceCreation in the JDT Core module.
    • fieldDeclaration

      public static final CFGNode.Kind fieldDeclaration
      Representing the node for a field variable declaration, which is an instance of CFGStatement in CFG. It corresponds to VariableDeclarationFragment in the JDT Core module.
    • enumConstantDeclaration

      public static final CFGNode.Kind enumConstantDeclaration
      Representing the node for an enum constant variable declaration, which is an instance of CFGStatement in CFG. It corresponds to VariableDeclarationFragment in the JDT Core module.
    • localDeclaration

      public static final CFGNode.Kind localDeclaration
      Representing the node for a local variable declaration, which is an instance of CFGStatement in CFG. It corresponds to VariableDeclarationFragment in the JDT Core module.
    • assertSt

      public static final CFGNode.Kind assertSt
      Representing the node for an assert statement, which is an instance of CFGStatement in CFG. It corresponds to AssertStatement in the JDT Core module.
    • breakSt

      public static final CFGNode.Kind breakSt
      Representing the node for a break statement, which is an instance of CFGStatement in CFG. It corresponds to BreakStatement in the JDT Core module.
    • continueSt

      public static final CFGNode.Kind continueSt
      Representing the node for a continue statement, which is an instance of CFGStatement in CFG. It corresponds to ContinueStatement in the JDT Core module.
    • doSt

      public static final CFGNode.Kind doSt
      Representing the node for a do statement, which is an instance of CFGStatement in CFG. It corresponds to DoStatement in the JDT Core module.
    • forSt

      public static final CFGNode.Kind forSt
      Representing the node for a for statement, which is an instance of CFGStatement in CFG. It corresponds to ForStatement in the JDT Core module.
    • enhancedForSt

      public static final CFGNode.Kind enhancedForSt
      Representing the node for an enhanced-for statement, which is an instance of CFGStatement in CFG. It corresponds to EnhancedForStatement in the JDT Core module.
    • ifSt

      public static final CFGNode.Kind ifSt
      Representing the node for an if statement, which is an instance of CFGStatement in CFG. It corresponds to IfStatement in the JDT Core module.
    • returnSt

      public static final CFGNode.Kind returnSt
      Representing the node for a return statement, which is an instance of CFGStatement in CFG. It corresponds to ReturnStatement in the JDT Core module.
    • switchCase

      public static final CFGNode.Kind switchCase
      Representing the node for a switch case statement, which is an instance of CFGStatement in CFG. It corresponds to SwitchCase in the JDT Core module.
    • switchDefault

      public static final CFGNode.Kind switchDefault
      Representing the node for a switch-default statement, which is an instance of CFGStatement in CFG. It corresponds to SwitchCase in the JDT Core module.
    • whileSt

      public static final CFGNode.Kind whileSt
      Representing the node for a while statement, which is an instance of CFGStatement in CFG. It corresponds to WhileStatement in the JDT Core module.
    • emptySt

      public static final CFGNode.Kind emptySt
      Representing the node for an empty statement, which is an instance of CFGStatement in CFG. It corresponds to EmptyStatement in the JDT Core module.
    • labelSt

      public static final CFGNode.Kind labelSt
      Representing the node for a label statement, which is an instance of CFGStatement in CFG. It corresponds to Identifier of LabeledStatement in the JDT Core module.
    • switchSt

      public static final CFGNode.Kind switchSt
      Representing the node for a switch statement, which is an instance of CFGStatement in CFG. It corresponds to SwitchStatement in the JDT Core module.
    • synchronizedSt

      public static final CFGNode.Kind synchronizedSt
      Representing the node for a synchronized statement, which is an instance of CFGStatement in CFG. It corresponds to SynchronizedStatement in the JDT Core module.
    • throwSt

      public static final CFGNode.Kind throwSt
      Representing the node for a throw statement, which is an instance of CFGStatement in CFG. It corresponds to ThrowStatement in the JDT Core module.
    • trySt

      public static final CFGNode.Kind trySt
      Representing the node for a try statement, which is an instance of CFGStatement in CFG. It corresponds to TryStatement in the JDT Core module.
    • catchClause

      public static final CFGNode.Kind catchClause
      Representing the node for a catch clause, which is an instance of CFGStatement in CFG. It corresponds to CatchClause of TryStatement in the JDT Core module.
    • finallyClause

      public static final CFGNode.Kind finallyClause
      Representing the node for a finally clause, which is an instance of CFGStatement in CFG. It corresponds to Block of TryStatement in the JDT Core module.
    • throwsClause

      public static final CFGNode.Kind throwsClause
      Representing the node for a throws clause, which is an instance of CFGStatement in CFG. It corresponds to the thrown exception type of MethodDeclaration in the JDT Core module.
    • formalIn

      public static final CFGNode.Kind formalIn
      Representing the node for a formal-in parameter in a method declaration, which is an instance of CFGParameter. It corresponds to VariableDeclaration in the JDT Core module.
    • formalOut

      public static final CFGNode.Kind formalOut
      Representing the node for a formal-out parameter in a method declaration, which is an instance of CFGParameter. It corresponds to VariableDeclaration in the JDT Core module.
    • actualIn

      public static final CFGNode.Kind actualIn
      Representing the node for an actual-in parameter in a method call, which is an instance of CFGParameter. It corresponds to Expression in the JDT Core module.
    • actualOut

      public static final CFGNode.Kind actualOut
      Representing the node for an actual-out parameter in a method call, which is an instance of CFGParameter. It corresponds to Expression in the JDT Core module.
    • actualOutByFieldAccess

      public static final CFGNode.Kind actualOutByFieldAccess
      Representing the node for an actual-out parameter regarding the field value in a method call, which is an instance of CFGParameter. It corresponds to CFGMethodCall in the JDT Core module.
    • receiver

      public static final CFGNode.Kind receiver
      Representing the node for a receiver object in a method call, which is an instance of CFGParameter. It corresponds to Expression in the JDT Core module.
    • merge

      public static final CFGNode.Kind merge
      Representing the merge node of a branch or a loop, which is an instance of CFGMerge in CFG. There is no corresponding node in the JDT Core module.
    • dummy

      public static final CFGNode.Kind dummy
      Representing the dummy node, which is an instance of CFGDummy in CFG. There is no corresponding node in the JDT Core module.
  • Method Details

    • values

      public static CFGNode.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 CFGNode.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