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 Summary
Nested classes/interfaces inherited from interface org.checkerframework.dataflow.cfg.block.Block
Block.BlockType
-
Method Summary
Modifier and TypeMethodDescriptionReturns the flow rule for information flowing from this block to its successor.Returns the non-exceptional successor block, ornull
if there is no non-exceptional successor.void
setFlowRule
(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.Block
getLastNode, getNodes, getPredecessors, getSuccessors, getType
Methods inherited from interface org.plumelib.util.UniqueId
getClassAndUid, getUid
-
Method Details
-
getSuccessor
Returns the non-exceptional successor block, ornull
if there is no non-exceptional successor.- Returns:
- the non-exceptional successor block, or
null
if there is no non-exceptional successor
-
getFlowRule
Returns 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
-
setFlowRule
Set 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
-