Class JvmCfaNode

java.lang.Object
proguard.analysis.cpa.jvm.cfa.nodes.JvmCfaNode
All Implemented Interfaces:
CfaNode<JvmCfaEdge,MethodSignature>
Direct Known Subclasses:
JvmCatchCfaNode, JvmUnknownCfaNode

public class JvmCfaNode extends Object implements CfaNode<JvmCfaEdge,MethodSignature>
A node representing a code location of a JVM method identified by a MethodSignature and an offset.
  • Constructor Details

    • JvmCfaNode

      public JvmCfaNode(MethodSignature signature, int offset, Clazz clazz)
      Create a JVM CFA 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.
      Parameters:
      signature - the signature of the method the node belongs to
      offset - a number indicating the program location offset of the node
      clazz - the class of the method the node belongs to
    • JvmCfaNode

      public JvmCfaNode(List<JvmCfaEdge> leavingEdges, List<JvmCfaEdge> enteringEdges, MethodSignature signature, int offset, Clazz clazz)
      Create JVM CFA node with the specified entering and exiting edges.
      Parameters:
      leavingEdges - a list of edges leaving the node
      enteringEdges - a list of edges entering the node
      signature - the signature of the method the node belongs to
      offset - a number indicating the program location offset of the node
      clazz - the class of the method the node belongs to
  • Method Details