protected static class CFGBuilder.UnconditionalJump extends CFGBuilder.ExtendedNode
CFGBuilder.ExtendedNode.ExtendedNodeType.UNCONDITIONAL_JUMP.CFGBuilder.ExtendedNode.ExtendedNodeType| Modifier and Type | Field and Description |
|---|---|
protected Store.FlowRule |
flowRule
The flow rule for this edge.
|
protected CFGBuilder.Label |
jumpTarget
The jump target label.
|
block, terminatesExecution, type| Constructor and Description |
|---|
UnconditionalJump(CFGBuilder.Label jumpTarget)
Construct an UnconditionalJump.
|
UnconditionalJump(CFGBuilder.Label jumpTarget,
Store.FlowRule flowRule)
Construct an UnconditionalJump, specifying its flow rule.
|
| Modifier and Type | Method and Description |
|---|---|
Store.FlowRule |
getFlowRule()
Returns the flow rule for this edge.
|
CFGBuilder.Label |
getLabel()
Returns the label associated with this extended node (only applicable if type is
CFGBuilder.ExtendedNode.ExtendedNodeType.CONDITIONAL_JUMP or CFGBuilder.ExtendedNode.ExtendedNodeType.UNCONDITIONAL_JUMP). |
String |
toString()
Produce a string representation.
|
String |
toStringDebug()
Returns a verbose string representation of this, useful for debugging.
|
getBlock, getNode, getTerminatesExecution, getType, setBlock, setTerminatesExecutionprotected final CFGBuilder.Label jumpTarget
protected final Store.FlowRule flowRule
public UnconditionalJump(CFGBuilder.Label jumpTarget)
jumpTarget - the jump target labelpublic UnconditionalJump(CFGBuilder.Label jumpTarget, Store.FlowRule flowRule)
jumpTarget - the jump target labelflowRule - the flow rule for this edgepublic CFGBuilder.Label getLabel()
CFGBuilder.ExtendedNodeCFGBuilder.ExtendedNode.ExtendedNodeType.CONDITIONAL_JUMP or CFGBuilder.ExtendedNode.ExtendedNodeType.UNCONDITIONAL_JUMP).getLabel in class CFGBuilder.ExtendedNodeCFGBuilder.ExtendedNode.ExtendedNodeType.CONDITIONAL_JUMP or CFGBuilder.ExtendedNode.ExtendedNodeType.UNCONDITIONAL_JUMP)public Store.FlowRule getFlowRule()
public String toString()
toString in class CFGBuilder.ExtendedNodeCFGBuilder.PhaseOneResult.nodeToString(org.checkerframework.dataflow.cfg.CFGBuilder.ExtendedNode)public String toStringDebug()
CFGBuilder.ExtendedNodetoStringDebug in class CFGBuilder.ExtendedNode