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()
Returns the node contained in this extended node (only applicable if the type is
NODE or EXCEPTION_NODE ). |
String |
toString() |
String |
toStringDebug()
Returns a verbose string representation of this, useful for debugging.
|
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()
CFGBuilder.ExtendedNode
NODE
or EXCEPTION_NODE
).getNode
in class CFGBuilder.ExtendedNode
NODE
or EXCEPTION_NODE
)public String toString()
toString
in class CFGBuilder.ExtendedNode
public String toStringDebug()
CFGBuilder.ExtendedNode