Package org.jtool.cfg
Enum Class CFGNode.Kind
- All Implemented Interfaces:
Serializable
,Comparable<CFGNode.Kind>
,Constable
- Enclosing class:
- CFGNode
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 ConstantsEnum ConstantDescriptionRepresenting the node for an actual-in parameter in a method call, which is an instance ofCFGParameter
.Representing the node for an actual-out parameter in a method call, which is an instance ofCFGParameter
.Representing the node for an actual-out parameter regarding the field value in a method call, which is an instance ofCFGParameter
.Representing the node for an assert statement, which is an instance ofCFGStatement
inCFG
.Representing the node for an assignment expression, which is an instance ofCFGStatement
inCFG
.Representing the node for a break statement, which is an instance ofCFGStatement
inCFG
.Representing the node for a catch clause, which is an instance ofCFGStatement
inCFG
.Representing the start node for a class declaration, which is an instance ofCFGClassEntry
inCCFG
.Representing the end node for a class declaration, which is an instance ofCFGExit
inCCFG
.Representing the node for a conditional expression, which is an instance ofCFGStatement
inCFG
.Representing the node for a constructor call expression, which is an instance ofCFGMethodCall
inCFG
.Representing the start node of a constructor declaration, which is an instance ofCFGMethodEntry
inCFG
.Representing the end node for a constructor declaration, which is an instance ofCFGExit
inCFG
.Representing the node for a continue statement, which is an instance ofCFGStatement
inCFG
.Representing the node for a do statement, which is an instance ofCFGStatement
inCFG
.Representing the dummy node, which is an instance ofCFGDummy
inCFG
.Representing the node for an empty statement, which is an instance ofCFGStatement
inCFG
.Representing the node for an enhanced-for statement, which is an instance ofCFGStatement
inCFG
.Representing the node for an enum constant variable declaration, which is an instance ofCFGStatement
inCFG
.Representing the start node for an enum constant declaration, which is an instance ofCFGFieldEntry
inCFG
.Representing the end node for an enum constant declaration, which is an instance ofCFGExit
inCFG
.Representing the start node for an enum declaration, which is an instance ofCFGClassEntry
inCCFG
.Representing the end node for an enum declaration, which is an instance ofCFGExit
inCCFG
.Representing the node for a field variable declaration, which is an instance ofCFGStatement
inCFG
.Representing the start node for a field declaration, which is an instance ofCFGFieldEntry
inCFG
.Representing the end node for a field declaration, which is an instance ofCFGExit
inCFG
.Representing the node for a finally clause, which is an instance ofCFGStatement
inCFG
.Representing the node for a formal-in parameter in a method declaration, which is an instance ofCFGParameter
.Representing the node for a formal-out parameter in a method declaration, which is an instance ofCFGParameter
.Representing the node for a for statement, which is an instance ofCFGStatement
inCFG
.Representing the node for an if statement, which is an instance ofCFGStatement
inCFG
.Representing the start node for an initializer declaration, which is an instance ofCFGInitializerEntry
inCFG
.Representing the end node for an initializer declaration, which is an instance ofCFGExit
inCFG
.Representing the node for an instance creation (new
) expression which is an instance ofCFGMethodCall
inCFG
.Representing the start node for an interface declaration, which is an instance ofCFGClassEntry
inCCFG
.Representing the end node for an interface declaration, which is an instance ofCFGExit
inCCFG
.Representing the node for a label statement, which is an instance ofCFGStatement
inCFG
.Representing the node for a lambda expression, which is an instance ofCFGStatement
inCFG
.Representing the node for a local variable declaration, which is an instance ofCFGStatement
inCFG
.Representing the merge node of a branch or a loop, which is an instance ofCFGMerge
inCFG
.Representing the node for a method call expression, which is an instance ofCFGMethodCall
inCFG
.Representing the start node for a method declaration, which is an instance ofCFGMethodEntry
inCFG
.Representing the end node for a method declaration, which is an instance ofCFGExit
inCFG
.Representing the node for a receiver object in a method call, which is an instance ofCFGParameter
.Representing the node for a return statement, which is an instance ofCFGStatement
inCFG
.Representing the node for a switch case statement, which is an instance ofCFGStatement
inCFG
.Representing the node for a switch-default statement, which is an instance ofCFGStatement
inCFG
.Representing the node for a switch expression, which is an instance ofCFGStatement
inCFG
.Representing the node for a switch statement, which is an instance ofCFGStatement
inCFG
.Representing the node for a synchronized statement, which is an instance ofCFGStatement
inCFG
.Representing the node for a throws clause, which is an instance ofCFGStatement
inCFG
.Representing the node for a throw statement, which is an instance ofCFGStatement
inCFG
.Representing the node for a try statement, which is an instance ofCFGStatement
inCFG
.Representing the node for a while statement, which is an instance ofCFGStatement
inCFG
. -
Method Summary
Modifier and TypeMethodDescriptionstatic CFGNode.Kind
Returns the enum constant of this class with the specified name.static CFGNode.Kind[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
classEntry
Representing the start node for a class declaration, which is an instance ofCFGClassEntry
inCCFG
. It corresponds toTypeDeclaration
orAnonymousClassDeclaration
in the JDT Core module. -
interfaceEntry
Representing the start node for an interface declaration, which is an instance ofCFGClassEntry
inCCFG
. It corresponds toTypeDeclaration
orAnonymousClassDeclaration
in the JDT Core module. -
enumEntry
Representing the start node for an enum declaration, which is an instance ofCFGClassEntry
inCCFG
. It corresponds toEnumDeclaration
in the JDT Core module. -
classExit
Representing the end node for a class declaration, which is an instance ofCFGExit
inCCFG
. There is no corresponding node in the JDT Core module. -
interfaceExit
Representing the end node for an interface declaration, which is an instance ofCFGExit
inCCFG
. There is no corresponding node in the JDT Core module. -
enumExit
Representing the end node for an enum declaration, which is an instance ofCFGExit
inCCFG
. There is no corresponding node in the JDT Core module. -
methodEntry
Representing the start node for a method declaration, which is an instance ofCFGMethodEntry
inCFG
. It corresponds toMethodDeclaration
in the JDT Core module. -
constructorEntry
Representing the start node of a constructor declaration, which is an instance ofCFGMethodEntry
inCFG
. It corresponds toMethodDeclaration
in the JDT Core module. -
initializerEntry
Representing the start node for an initializer declaration, which is an instance ofCFGInitializerEntry
inCFG
. It corresponds toInitializer
in the JDT Core module. -
fieldEntry
Representing the start node for a field declaration, which is an instance ofCFGFieldEntry
inCFG
. It corresponds toVariableDeclarationFragment
orFieldDeclaration
in the JDT Core module. -
enumConstantEntry
Representing the start node for an enum constant declaration, which is an instance ofCFGFieldEntry
inCFG
. It corresponds toEnumConstantDeclaration
in the JDT Core module. -
methodExit
Representing the end node for a method declaration, which is an instance ofCFGExit
inCFG
. There is no corresponding node in the JDT Core module. -
constructorExit
Representing the end node for a constructor declaration, which is an instance ofCFGExit
inCFG
. There is no corresponding node in the JDT Core module. -
initializerExit
Representing the end node for an initializer declaration, which is an instance ofCFGExit
inCFG
. There is no corresponding node in the JDT Core module. -
fieldExit
Representing the end node for a field declaration, which is an instance ofCFGExit
inCFG
. There is no corresponding node in the JDT Core module. -
enumConstantExit
Representing the end node for an enum constant declaration, which is an instance ofCFGExit
inCFG
. There is no corresponding node in the JDT Core module. -
assignment
Representing the node for an assignment expression, which is an instance ofCFGStatement
inCFG
. It corresponds toAssignment
in the JDT Core module. -
lambda
Representing the node for a lambda expression, which is an instance ofCFGStatement
inCFG
. It corresponds toLambdaExpression
in the JDT Core module. -
conditionalExpression
Representing the node for a conditional expression, which is an instance ofCFGStatement
inCFG
. It corresponds toConditionalExpression
in the JDT Core module. -
switchExpression
Representing the node for a switch expression, which is an instance ofCFGStatement
inCFG
. It corresponds toSwitchExpression
in the JDT Core module. -
methodCall
Representing the node for a method call expression, which is an instance ofCFGMethodCall
inCFG
. It corresponds toMethodInvocation
orSuperMethodInvocation
in the JDT Core module. -
constructorCall
Representing the node for a constructor call expression, which is an instance ofCFGMethodCall
inCFG
. It corresponds toConstructorInvocation
orSuperConstructorInvocation
in the JDT Core module. -
instanceCreation
Representing the node for an instance creation (new
) expression which is an instance ofCFGMethodCall
inCFG
. It corresponds toInstanceCreation
in the JDT Core module. -
fieldDeclaration
Representing the node for a field variable declaration, which is an instance ofCFGStatement
inCFG
. It corresponds toVariableDeclarationFragment
in the JDT Core module. -
enumConstantDeclaration
Representing the node for an enum constant variable declaration, which is an instance ofCFGStatement
inCFG
. It corresponds toVariableDeclarationFragment
in the JDT Core module. -
localDeclaration
Representing the node for a local variable declaration, which is an instance ofCFGStatement
inCFG
. It corresponds toVariableDeclarationFragment
in the JDT Core module. -
assertSt
Representing the node for an assert statement, which is an instance ofCFGStatement
inCFG
. It corresponds toAssertStatement
in the JDT Core module. -
breakSt
Representing the node for a break statement, which is an instance ofCFGStatement
inCFG
. It corresponds toBreakStatement
in the JDT Core module. -
continueSt
Representing the node for a continue statement, which is an instance ofCFGStatement
inCFG
. It corresponds toContinueStatement
in the JDT Core module. -
doSt
Representing the node for a do statement, which is an instance ofCFGStatement
inCFG
. It corresponds toDoStatement
in the JDT Core module. -
forSt
Representing the node for a for statement, which is an instance ofCFGStatement
inCFG
. It corresponds toForStatement
in the JDT Core module. -
enhancedForSt
Representing the node for an enhanced-for statement, which is an instance ofCFGStatement
inCFG
. It corresponds toEnhancedForStatement
in the JDT Core module. -
ifSt
Representing the node for an if statement, which is an instance ofCFGStatement
inCFG
. It corresponds toIfStatement
in the JDT Core module. -
returnSt
Representing the node for a return statement, which is an instance ofCFGStatement
inCFG
. It corresponds toReturnStatement
in the JDT Core module. -
switchCase
Representing the node for a switch case statement, which is an instance ofCFGStatement
inCFG
. It corresponds toSwitchCase
in the JDT Core module. -
switchDefault
Representing the node for a switch-default statement, which is an instance ofCFGStatement
inCFG
. It corresponds toSwitchCase
in the JDT Core module. -
whileSt
Representing the node for a while statement, which is an instance ofCFGStatement
inCFG
. It corresponds toWhileStatement
in the JDT Core module. -
emptySt
Representing the node for an empty statement, which is an instance ofCFGStatement
inCFG
. It corresponds toEmptyStatement
in the JDT Core module. -
labelSt
Representing the node for a label statement, which is an instance ofCFGStatement
inCFG
. It corresponds toIdentifier
ofLabeledStatement
in the JDT Core module. -
switchSt
Representing the node for a switch statement, which is an instance ofCFGStatement
inCFG
. It corresponds toSwitchStatement
in the JDT Core module. -
synchronizedSt
Representing the node for a synchronized statement, which is an instance ofCFGStatement
inCFG
. It corresponds toSynchronizedStatement
in the JDT Core module. -
throwSt
Representing the node for a throw statement, which is an instance ofCFGStatement
inCFG
. It corresponds toThrowStatement
in the JDT Core module. -
trySt
Representing the node for a try statement, which is an instance ofCFGStatement
inCFG
. It corresponds toTryStatement
in the JDT Core module. -
catchClause
Representing the node for a catch clause, which is an instance ofCFGStatement
inCFG
. It corresponds toCatchClause
ofTryStatement
in the JDT Core module. -
finallyClause
Representing the node for a finally clause, which is an instance ofCFGStatement
inCFG
. It corresponds toBlock
ofTryStatement
in the JDT Core module. -
throwsClause
Representing the node for a throws clause, which is an instance ofCFGStatement
inCFG
. It corresponds to the thrown exception type ofMethodDeclaration
in the JDT Core module. -
formalIn
Representing the node for a formal-in parameter in a method declaration, which is an instance ofCFGParameter
. It corresponds toVariableDeclaration
in the JDT Core module. -
formalOut
Representing the node for a formal-out parameter in a method declaration, which is an instance ofCFGParameter
. It corresponds toVariableDeclaration
in the JDT Core module. -
actualIn
Representing the node for an actual-in parameter in a method call, which is an instance ofCFGParameter
. It corresponds toExpression
in the JDT Core module. -
actualOut
Representing the node for an actual-out parameter in a method call, which is an instance ofCFGParameter
. It corresponds toExpression
in the JDT Core module. -
actualOutByFieldAccess
Representing the node for an actual-out parameter regarding the field value in a method call, which is an instance ofCFGParameter
. It corresponds toCFGMethodCall
in the JDT Core module. -
receiver
Representing the node for a receiver object in a method call, which is an instance ofCFGParameter
. It corresponds toExpression
in the JDT Core module. -
merge
Representing the merge node of a branch or a loop, which is an instance ofCFGMerge
inCFG
. There is no corresponding node in the JDT Core module. -
dummy
Representing the dummy node, which is an instance ofCFGDummy
inCFG
. There is no corresponding node in the JDT Core module.
-
-
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
-