Package org.jtool.pdg

Class PDGEntry


public class PDGEntry extends PDGNode
The entry node for a PDG.
  • Constructor Details

    • PDGEntry

      public PDGEntry(CFGEntry node)
      Creates a new object that represents an entry. This method is not intended to be invoked by clients.
      Parameters:
      node - the entry node for the CFG corresponding to the PDG that has this entry node.
  • Method Details

    • getCFGEntry

      public CFGEntry getCFGEntry()
      Returns the entry node for the CFG corresponding to the PDG that has this entry node.
      Returns:
      the entry node for the CFG
    • setPDG

      public void setPDG(PDG pdg)
      Associates a PDG with this entry node. This method is not intended to be invoked by clients.
      Parameters:
      pdg - the PDG to be associated
    • getPDG

      public PDG getPDG()
      Returns the PDG that has this entry node
      Returns:
      the PDG
    • getQualifiedName

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

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

      public boolean isEntry()
      Tests if this node indicates the entry for a method, a field, or a class.
      Overrides:
      isEntry in class PDGNode
      Returns:
      true if this is an entry node, otherwise false