类 JvmCatchCfaNode
java.lang.Object
proguard.analysis.cpa.jvm.cfa.nodes.JvmCfaNode
proguard.analysis.cpa.jvm.cfa.nodes.JvmCatchCfaNode
- 所有已实现的接口:
CfaNode<JvmCfaEdge,MethodSignature>
A
JvmCfaNode representing the beginning of a catch or finally block.
The finally blocks are identified by catch type 0.
-
字段概要
从接口继承的字段 proguard.analysis.cpa.interfaces.CfaNode
EXCEPTION_EXIT_NODE_OFFSET, EXIT_NODES_OFFSET, RETURN_EXIT_NODE_OFFSET -
构造器概要
构造器构造器说明JvmCatchCfaNode(List<JvmCfaEdge> leavingEdges, 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. -
方法概要
修饰符和类型方法说明intReturns the integer representing the exception type in the exception table of the method the node belongs to.booleanReturns true if the catch node represents the beginning of a finally block.从类继承的方法 proguard.analysis.cpa.jvm.cfa.nodes.JvmCfaNode
addEnteringEdge, addLeavingEdge, getClazz, getEnteringEdges, getEnteringIntraproceduralEdges, getEnteringInvokeEdge, getKnownMethodCallEdges, getLeavingEdges, getLeavingInterproceduralEdges, getLeavingIntraproceduralEdges, getLeavingInvokeEdge, getOffset, getSignature, hashCode, isEntryNode, isExitNode, toString从接口继承的方法 proguard.analysis.cpa.interfaces.CfaNode
isExceptionExitNode, isReturnExitNode, isUnknownNode
-
构造器详细资料
-
JvmCatchCfaNode
Create a JVM CFA catch node without edges. Since in most cases we expect to have just one element in the lists of leaving and entering edges the lists are initialized with size 1.- 参数:
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 to
-
JvmCatchCfaNode
public JvmCatchCfaNode(List<JvmCfaEdge> leavingEdges, List<JvmCfaEdge> enteringEdges, MethodSignature signature, int offset, int catchType, Clazz clazz) Create JVM CFA catch node with the specified entering and exiting edges.- 参数:
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
-
-
方法详细资料
-
getCatchType
public int getCatchType()Returns the integer representing the exception type in the exception table of the method the node belongs to. -
isFinallyNode
public boolean isFinallyNode()Returns true if the catch node represents the beginning of a finally block.
-