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, successorid, 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, setSuccessoraddPredecessor, getId, getPredecessors, getType, removePredecessorclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFlowRule, getSuccessor, setFlowRuleprotected final Map<TypeMirror,Set<Block>> exceptionalSuccessors
public ExceptionBlockImpl()
public void setNode(Node c)
public Node getNode()
getNode in interface ExceptionBlockpublic void addExceptionalSuccessor(BlockImpl b, TypeMirror cause)
public Map<TypeMirror,Set<Block>> getExceptionalSuccessors()
getExceptionalSuccessors in interface ExceptionBlock