Package org.jtool.cfg

Class CFGEntry

Direct Known Subclasses:
CFGFieldEntry, CFGMethodEntry

public abstract class CFGEntry extends CFGNode
An entry node for a CFG.
  • Field Details

    • fqn

      protected final QualifiedName fqn
      The fully-qualified name of the CFG that has this entry node.
  • Constructor Details

    • CFGEntry

      protected CFGEntry(org.eclipse.jdt.core.dom.ASTNode node, CFGNode.Kind kind, QualifiedName fqn)
      Creates a new object that represents an entry. This method is not intended to be invoked by clients.
      Parameters:
      node - the ASt node corresponding to this node
      kind - the kind of this node
      fqn - the fully-qualified name of the CFG that has this entry node
  • Method Details

    • setCFG

      public void setCFG(CFG cfg)
      Associates a CFG with this entry node. This method is not intended to be invoked by clients.
      Parameters:
      cfg - the CFG to be associated
    • getCFG

      public CFG getCFG()
      Returns the CFG that has this entry node
      Returns:
      the CFG
    • getSignature

      public String getSignature()
      Returns the signature of the CFG that has this entry node
      Returns:
      the signature of the CFG
    • getQualifiedName

      public QualifiedName getQualifiedName()
      Returns the fully-qualified name of the CFG that has this entry node
      Returns:
      the fully-qualified name of the CFG