public class SpecialBlockImpl extends SingleSuccessorBlockImpl implements SpecialBlock
SpecialBlock.SpecialBlock.SpecialBlockTypeBlock.BlockType| Modifier and Type | Field and Description | 
|---|---|
protected SpecialBlock.SpecialBlockType | 
specialType
The type of this special basic block. 
 | 
flowRule, successorpredecessors, type| Constructor and Description | 
|---|
SpecialBlockImpl(SpecialBlock.SpecialBlockType type)  | 
| Modifier and Type | Method and Description | 
|---|---|
@Nullable Node | 
getLastNode()
Returns the last node of this block, or null if none. 
 | 
List<Node> | 
getNodes()
Returns the nodes contained within this basic block. 
 | 
SpecialBlock.SpecialBlockType | 
getSpecialType()
Returns the type of this special basic block. 
 | 
String | 
toString()  | 
getFlowRule, getSuccessor, getSuccessors, setFlowRule, setSuccessoraddPredecessor, getPredecessors, getType, getUid, removePredecessorclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFlowRule, getSuccessor, setFlowRulegetPredecessors, getSuccessors, getTypeprotected final SpecialBlock.SpecialBlockType specialType
public SpecialBlockImpl(SpecialBlock.SpecialBlockType type)
public SpecialBlock.SpecialBlockType getSpecialType()
SpecialBlockgetSpecialType in interface SpecialBlockpublic List<Node> getNodes()
The following invariant holds.
forall n in getNodes() :: n.getBlock() == this
This implementation returns an empty list.
public @Nullable Node getLastNode()
BlockgetLastNode in interface Blocknull