Class JvmAssumeExceptionCfaEdge
- java.lang.Object
-
- proguard.analysis.cpa.jvm.cfa.edges.JvmCfaEdge
-
- proguard.analysis.cpa.jvm.cfa.edges.JvmAssumeExceptionCfaEdge
-
- All Implemented Interfaces:
CfaEdge<JvmCfaNode>
public class JvmAssumeExceptionCfaEdge extends JvmCfaEdge
An edge representing an assumption on a JVM exception of a specific type that can be either caught or not caught.
-
-
Constructor Summary
Constructors Constructor Description JvmAssumeExceptionCfaEdge(boolean isCaught, int catchType)
Create a disconnected JVM CFA exception assumption edge.JvmAssumeExceptionCfaEdge(JvmCfaNode source, JvmCfaNode target, boolean isCaught, int catchType)
Create a JVM CFA exception assumption edge.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCatchType()
Returns the integer representing the exception type in the exception table of the method the node belongs to.boolean
isCaught()
Returns the assumption on the exception being caught made for the edge.-
Methods inherited from class proguard.analysis.cpa.jvm.cfa.edges.JvmCfaEdge
getSource, getTarget, setSource, setTarget, targetSignature
-
-
-
-
Constructor Detail
-
JvmAssumeExceptionCfaEdge
public JvmAssumeExceptionCfaEdge(boolean isCaught, int catchType)
Create a disconnected JVM CFA exception assumption edge.- Parameters:
isCaught
- an assumption on the exception being caught or notcatchType
- an integer representing the exception type in the edge's method exception table
-
JvmAssumeExceptionCfaEdge
public JvmAssumeExceptionCfaEdge(JvmCfaNode source, JvmCfaNode target, boolean isCaught, int catchType)
Create a JVM CFA exception assumption edge. Also sets it as the entering and leaving edge of the source and target nodes.- Parameters:
source
- the source node of the edgetarget
- the target node of the edgeisCaught
- an assumption on the exception being caught or notcatchType
- an integer representing the exception type in the edge's method exception table
-
-