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 SummaryNested classes/interfaces inherited from class org.checkerframework.dataflow.cfg.builder.ExtendedNodeExtendedNode.ExtendedNodeType
- 
Field SummaryFieldsModifier 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.ExtendedNodeblock, terminatesExecution, type
- 
Constructor SummaryConstructorsConstructorDescriptionConditionalJump(Label trueSucc, Label falseSucc) Construct a ConditionalJump.
- 
Method SummaryModifier 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.ExtendedNodegetBlock, getLabel, getNode, getTerminatesExecution, getType, setBlock, setTerminatesExecution
- 
Field Details- 
trueSuccThe true successor label.
- 
falseSuccThe false successor label.
- 
trueFlowRuleThe true branch flow rule.
- 
falseFlowRuleThe false branch flow rule.
 
- 
- 
Constructor Details- 
ConditionalJumpConstruct a ConditionalJump.- Parameters:
- trueSucc- true successor label
- falseSucc- false successor label
 
 
- 
- 
Method Details- 
getThenLabel
- 
getElseLabel
- 
getTrueFlowRuleReturns the true branch flow rule.- Returns:
- the true branch flow rule
 
- 
getFalseFlowRuleReturns the false branch flow rule.- Returns:
- the false branch flow rule
 
- 
setTrueFlowRuleSets the true branch flow rule.- Parameters:
- rule- the new true branch flow rule
 
- 
setFalseFlowRuleSets the false branch flow rule.- Parameters:
- rule- the new false branch flow rule
 
- 
toStringProduce a string representation.- Overrides:
- toStringin class- ExtendedNode
- Returns:
- a string representation
- See Also:
 
- 
toStringDebugDescription copied from class:ExtendedNodeReturns a verbose string representation of this, useful for debugging.- Specified by:
- toStringDebugin class- ExtendedNode
- Returns:
- a string representation of this
 
 
-