类 JvmAssumeExceptionCfaEdge

  • 所有已实现的接口:
    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.
    • 构造器详细资料

      • JvmAssumeExceptionCfaEdge

        public JvmAssumeExceptionCfaEdge​(boolean isCaught,
                                         int catchType)
        Create a disconnected JVM CFA exception assumption edge.
        参数:
        isCaught - an assumption on the exception being caught or not
        catchType - 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.
        参数:
        source - the source node of the edge
        target - the target node of the edge
        isCaught - an assumption on the exception being caught or not
        catchType - an integer representing the exception type in the edge's method exception table
    • 方法详细资料

      • getCatchType

        public int getCatchType()
        Returns the integer representing the exception type in the exception table of the method the node belongs to.
      • isCaught

        public boolean isCaught()
        Returns the assumption on the exception being caught made for the edge.