Interface ConditionalBlock
- All Superinterfaces:
- Block,- org.plumelib.util.UniqueId
- All Known Implementing Classes:
- ConditionalBlockImpl
Represents a conditional basic block.
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.checkerframework.dataflow.cfg.block.BlockBlock.BlockType
- 
Method SummaryModifier and TypeMethodDescriptionReturns the flow rule for information flowing from this block to its else successor.Returns the entry block of the else branch.Returns the flow rule for information flowing from this block to its then successor.Returns the entry block of the then branch.voidSet the flow rule for information flowing from this block to its else successor.voidSet the flow rule for information flowing from this block to its then successor.Methods inherited from interface org.checkerframework.dataflow.cfg.block.BlockgetLastNode, getNodes, getPredecessors, getSuccessors, getTypeMethods inherited from interface org.plumelib.util.UniqueIdgetClassAndUid, getUid
- 
Method Details- 
getThenSuccessorBlock getThenSuccessor()Returns the entry block of the then branch.- Returns:
- the entry block of the then branch
 
- 
getElseSuccessorBlock getElseSuccessor()Returns the entry block of the else branch.- Returns:
- the entry block of the else branch
 
- 
getThenFlowRuleStore.FlowRule getThenFlowRule()Returns the flow rule for information flowing from this block to its then successor.- Returns:
- the flow rule for information flowing from this block to its then successor
 
- 
getElseFlowRuleStore.FlowRule getElseFlowRule()Returns the flow rule for information flowing from this block to its else successor.- Returns:
- the flow rule for information flowing from this block to its else successor
 
- 
setThenFlowRuleSet the flow rule for information flowing from this block to its then successor.- Parameters:
- rule- the new flow rule for information flowing from this block to its then successor
 
- 
setElseFlowRuleSet the flow rule for information flowing from this block to its else successor.- Parameters:
- rule- the new flow rule for information flowing from this block to its else successor
 
 
-