public class JvmCatchCfaNode extends JvmCfaNode
JvmCfaNode representing the beginning of a catch or finally block.
The finally blocks are identified by catch type 0.
EXCEPTION_EXIT_NODE_OFFSET, RETURN_EXIT_NODE_OFFSET| Constructor and Description |
|---|
JvmCatchCfaNode(java.util.List<JvmCfaEdge> leavingEdges,
java.util.List<JvmCfaEdge> enteringEdges,
MethodSignature signature,
int offset,
int catchType,
Clazz clazz)
Create JVM CFA catch node with the specified entering and exiting edges.
|
JvmCatchCfaNode(MethodSignature signature,
int offset,
int catchType,
Clazz clazz)
Create a JVM CFA catch node without edges.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCatchType()
Returns the integer representing the exception type in the exception table of the method the node belongs to.
|
boolean |
isFinallyNode()
Returns true if the catch node represents the beginning of a finally block.
|
addEnteringEdge, addLeavingEdge, getClazz, getEnteringEdges, getEnteringIntraproceduralEdges, getEnteringInvokeEdge, getKnownMethodCallEdges, getLeavingEdges, getLeavingInterproceduralEdges, getLeavingIntraproceduralEdges, getLeavingInvokeEdge, getOffset, getSignature, hashCode, isEntryNode, isExitNode, toStringclone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitisExceptionExitNode, isReturnExitNode, isUnknownNodepublic JvmCatchCfaNode(MethodSignature signature, int offset, int catchType, Clazz clazz)
signature - the signature of the method the node belongs tooffset - a number indicating the program location offset of the nodecatchType - an integer representing the exception type caught by the handler in the node's method exception tableclazz - the class of the method the node belongs topublic JvmCatchCfaNode(java.util.List<JvmCfaEdge> leavingEdges, java.util.List<JvmCfaEdge> enteringEdges, MethodSignature signature, int offset, int catchType, Clazz clazz)
leavingEdges - a list of edges leaving the nodeenteringEdges - a list of edges entering the nodesignature - the signature of the method the node belongs tooffset - a number indicating the program location offset of the nodecatchType - an integer representing the exception type caught by the handler in the node's method exception tableclazz - the class of the method the node belongs to