Class BlockImpl
java.lang.Object
org.checkerframework.dataflow.cfg.block.BlockImpl
- All Implemented Interfaces:
- Block,- org.plumelib.util.UniqueId
- Direct Known Subclasses:
- ConditionalBlockImpl,- SingleSuccessorBlockImpl
Base class of the 
Block implementation hierarchy.- 
Nested Class SummaryNested classes/interfaces inherited from interface org.checkerframework.dataflow.cfg.block.BlockBlock.BlockType
- 
Field SummaryFieldsModifier and TypeFieldDescriptionThe set of predecessors.protected final Block.BlockTypeThe type of this basic block.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddPredecessor(BlockImpl pred) Returns the predecessors of this basic block.getType()Returns the type of this basic block.longgetUid()voidremovePredecessor(BlockImpl pred) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.checkerframework.dataflow.cfg.block.BlockgetLastNode, getNodes, getSuccessorsMethods inherited from interface org.plumelib.util.UniqueIdgetClassAndUid
- 
Field Details- 
typeThe type of this basic block.
- 
predecessorsThe set of predecessors.
 
- 
- 
Constructor Details- 
BlockImplCreate a new BlockImpl.- Parameters:
- type- the type of this basic block
 
 
- 
- 
Method Details- 
getUid- Specified by:
- getUidin interface- org.plumelib.util.UniqueId
 
- 
getTypeDescription copied from interface:BlockReturns the type of this basic block.
- 
getPredecessorsDescription copied from interface:BlockReturns the predecessors of this basic block.- Specified by:
- getPredecessorsin interface- Block
- Returns:
- the predecessors of this basic block
 
- 
addPredecessor
- 
removePredecessor
 
-