protected static class CFGBuilder.NodeWithExceptionsHolder extends CFGBuilder.ExtendedNode
EXCEPTION_NODE
.CFGBuilder.ExtendedNode.ExtendedNodeType
Modifier and Type | Field and Description |
---|---|
protected Map<TypeMirror,Set<CFGBuilder.Label>> |
exceptions
Map from exception type to labels of successors that may be reached as a result of that
exception.
|
protected Node |
node
The node to hold.
|
block, terminatesExecution, type
Constructor and Description |
---|
NodeWithExceptionsHolder(Node node,
Map<TypeMirror,Set<CFGBuilder.Label>> exceptions)
Construct a NodeWithExceptionsHolder for the given node and exceptions.
|
Modifier and Type | Method and Description |
---|---|
Map<TypeMirror,Set<CFGBuilder.Label>> |
getExceptions()
Get the exceptions for the node.
|
Node |
getNode() |
String |
toString() |
getBlock, getLabel, getTerminatesExecution, getType, setBlock, setTerminatesExecution
protected final Node node
protected final Map<TypeMirror,Set<CFGBuilder.Label>> exceptions
public NodeWithExceptionsHolder(Node node, Map<TypeMirror,Set<CFGBuilder.Label>> exceptions)
node
- the node to holdexceptions
- the exceptions to holdpublic Map<TypeMirror,Set<CFGBuilder.Label>> getExceptions()
public Node getNode()
getNode
in class CFGBuilder.ExtendedNode
NODE
or EXCEPTION_NODE
).public String toString()
toString
in class CFGBuilder.ExtendedNode