Class SpecialBlockImpl
java.lang.Object
org.checkerframework.dataflow.cfg.block.BlockImpl
org.checkerframework.dataflow.cfg.block.SingleSuccessorBlockImpl
org.checkerframework.dataflow.cfg.block.SpecialBlockImpl
- All Implemented Interfaces:
Block
,SingleSuccessorBlock
,SpecialBlock
,org.plumelib.util.UniqueId
The implementation of a
SpecialBlock
.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.checkerframework.dataflow.cfg.block.Block
Block.BlockType
Nested classes/interfaces inherited from interface org.checkerframework.dataflow.cfg.block.SpecialBlock
SpecialBlock.SpecialBlockType
-
Field Summary
Modifier and TypeFieldDescriptionprotected final SpecialBlock.SpecialBlockType
The type of this special basic block.Fields inherited from class org.checkerframework.dataflow.cfg.block.SingleSuccessorBlockImpl
flowRule, successor
Fields inherited from class org.checkerframework.dataflow.cfg.block.BlockImpl
predecessors, type
-
Constructor Summary
-
Method Summary
Methods inherited from class org.checkerframework.dataflow.cfg.block.SingleSuccessorBlockImpl
getFlowRule, getSuccessor, getSuccessors, setFlowRule, setSuccessor
Methods inherited from class org.checkerframework.dataflow.cfg.block.BlockImpl
addPredecessor, getPredecessors, getType, getUid, removePredecessor
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.checkerframework.dataflow.cfg.block.Block
getPredecessors, getSuccessors, getType
Methods inherited from interface org.checkerframework.dataflow.cfg.block.SingleSuccessorBlock
getFlowRule, getSuccessor, setFlowRule
Methods inherited from interface org.plumelib.util.UniqueId
getClassAndUid, getUid
-
Field Details
-
specialType
The type of this special basic block.
-
-
Constructor Details
-
SpecialBlockImpl
-
-
Method Details
-
getSpecialType
Description copied from interface:SpecialBlock
Returns the type of this special basic block.- Specified by:
getSpecialType
in interfaceSpecialBlock
- Returns:
- the type of this special basic block
-
getNodes
Returns the nodes contained within this basic block. The list may be empty.The following invariant holds.
forall n in getNodes() :: n.getBlock() == this
This implementation returns an empty list.
-
getLastNode
Description copied from interface:Block
Returns the last node of this block, or null if none.- Specified by:
getLastNode
in interfaceBlock
- Returns:
- the last node of this block or
null
-
toString
-