Interface SingleSuccessorBlock
- All Superinterfaces:
- Block,- org.plumelib.util.UniqueId
- All Known Subinterfaces:
- ExceptionBlock,- RegularBlock,- SpecialBlock
- All Known Implementing Classes:
- ExceptionBlockImpl,- RegularBlockImpl,- SingleSuccessorBlockImpl,- SpecialBlockImpl
A basic block that has exactly one non-exceptional successor.
- 
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 successor.Returns the non-exceptional successor block, ornullif there is no non-exceptional successor.voidsetFlowRule(Store.FlowRule rule) Set the flow rule for information flowing from this block to its 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- 
getSuccessorReturns the non-exceptional successor block, ornullif there is no non-exceptional successor.- Returns:
- the non-exceptional successor block, or nullif there is no non-exceptional successor
 
- 
getFlowRuleReturns the flow rule for information flowing from this block to its successor.- Returns:
- the flow rule for information flowing from this block to its successor
 
- 
setFlowRuleSet the flow rule for information flowing from this block to its successor.- Parameters:
- rule- the new flow rule for information flowing from this block to its successor
 
 
-