Class ConditionalJump
java.lang.Object
org.checkerframework.dataflow.cfg.builder.ExtendedNode
org.checkerframework.dataflow.cfg.builder.ConditionalJump
An extended node of type 
ExtendedNode.ExtendedNodeType.CONDITIONAL_JUMP.
 Important: In the list of extended nodes, there should not be any labels that point
 to a conditional jump. Furthermore, the node directly ahead of any conditional jump has to be a
 NodeWithExceptionsHolder or NodeHolder, and the node held by that extended node
 is required to be of boolean type.
- 
Nested Class Summary
Nested classes/interfaces inherited from class org.checkerframework.dataflow.cfg.builder.ExtendedNode
ExtendedNode.ExtendedNodeType - 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Store.FlowRuleThe false branch flow rule.protected final LabelThe false successor label.protected Store.FlowRuleThe true branch flow rule.protected final LabelThe true successor label.Fields inherited from class org.checkerframework.dataflow.cfg.builder.ExtendedNode
block, terminatesExecution, type - 
Constructor Summary
ConstructorsConstructorDescriptionConditionalJump(Label trueSucc, Label falseSucc) Construct a ConditionalJump. - 
Method Summary
Modifier and TypeMethodDescriptionReturns the false branch flow rule.Returns the true branch flow rule.voidSets the false branch flow rule.voidSets the true branch flow rule.toString()Produce a string representation.Returns a verbose string representation of this, useful for debugging.Methods inherited from class org.checkerframework.dataflow.cfg.builder.ExtendedNode
getBlock, getLabel, getNode, getTerminatesExecution, getType, setBlock, setTerminatesExecution 
- 
Field Details
- 
trueSucc
The true successor label. - 
falseSucc
The false successor label. - 
trueFlowRule
The true branch flow rule. - 
falseFlowRule
The false branch flow rule. 
 - 
 - 
Constructor Details
- 
ConditionalJump
Construct a ConditionalJump.- Parameters:
 trueSucc- true successor labelfalseSucc- false successor label
 
 - 
 - 
Method Details
- 
getThenLabel
 - 
getElseLabel
 - 
getTrueFlowRule
Returns the true branch flow rule.- Returns:
 - the true branch flow rule
 
 - 
getFalseFlowRule
Returns the false branch flow rule.- Returns:
 - the false branch flow rule
 
 - 
setTrueFlowRule
Sets the true branch flow rule.- Parameters:
 rule- the new true branch flow rule
 - 
setFalseFlowRule
Sets the false branch flow rule.- Parameters:
 rule- the new false branch flow rule
 - 
toString
Produce a string representation.- Overrides:
 toStringin classExtendedNode- Returns:
 - a string representation
 - See Also:
 
 - 
toStringDebug
Description copied from class:ExtendedNodeReturns a verbose string representation of this, useful for debugging.- Specified by:
 toStringDebugin classExtendedNode- Returns:
 - a string representation of this
 
 
 -