public class ExceptionBlockImpl extends SingleSuccessorBlockImpl implements ExceptionBlock
Block
implementation hierarchy.Block.BlockType
Modifier and Type | Field and Description |
---|---|
protected Map<TypeMirror,Set<Block>> |
exceptionalSuccessors
Set of exceptional successors.
|
protected @Nullable Node |
node
The node of this block.
|
flowRule, successor
id, lastId, predecessors, type
Constructor and Description |
---|
ExceptionBlockImpl()
Create an empty exceptional block.
|
Modifier and Type | Method and Description |
---|---|
void |
addExceptionalSuccessor(BlockImpl b,
TypeMirror cause)
Add an exceptional successor.
|
Map<TypeMirror,Set<Block>> |
getExceptionalSuccessors() |
Node |
getNode() |
void |
setNode(Node c)
Set the node.
|
String |
toString() |
getFlowRule, getSuccessor, setFlowRule, setSuccessor
addPredecessor, getId, getPredecessors, getType, removePredecessor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getFlowRule, getSuccessor, setFlowRule
protected final Map<TypeMirror,Set<Block>> exceptionalSuccessors
public ExceptionBlockImpl()
public void setNode(Node c)
public Node getNode()
getNode
in interface ExceptionBlock
public void addExceptionalSuccessor(BlockImpl b, TypeMirror cause)
public Map<TypeMirror,Set<Block>> getExceptionalSuccessors()
getExceptionalSuccessors
in interface ExceptionBlock