public abstract class BlockImpl extends Object implements Block
Block implementation hierarchy.Block.BlockType| Modifier and Type | Field and Description | 
|---|---|
| protected long | idA unique ID for this node. | 
| protected static long | lastIdThe last ID that has already been used. | 
| protected Set<BlockImpl> | predecessorsThe set of predecessors. | 
| protected Block.BlockType | typeThe type of this basic block. | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | BlockImpl(Block.BlockType type) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addPredecessor(BlockImpl pred) | 
| long | getId()Returns the unique identifier of this block. | 
| Set<BlockImpl> | getPredecessors()Returns the predecessors of this basic block. | 
| Block.BlockType | getType()Returns the type of this basic block. | 
| void | removePredecessor(BlockImpl pred) | 
protected final long id
protected static long lastId
protected final Block.BlockType type
protected BlockImpl(Block.BlockType type)
public long getId()
Blockpublic Block.BlockType getType()
Blockpublic Set<BlockImpl> getPredecessors()
BlockgetPredecessors in interface Blockpublic void addPredecessor(BlockImpl pred)
public void removePredecessor(BlockImpl pred)