Package org.jtool.pdg
Class PDGEntry
java.lang.Object
org.jtool.graph.GraphElement
org.jtool.graph.GraphNode
org.jtool.pdg.PDGNode
org.jtool.pdg.PDGEntry
The entry node for a PDG.
-
Field Summary
Fields inherited from class org.jtool.graph.GraphNode
id, incomingEdges, outgoingEdges
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the entry node for the CFG corresponding to the PDG that has this entry node.getPDG()
Returns the PDG that has this entry nodeReturns the fully-qualified name of the PDG that has this entry nodeReturns the signature of the PDG that has this entry nodeboolean
isEntry()
Tests if this node indicates the entry for a method, a field, or a class.void
Associates a PDG with this entry node.Methods inherited from class org.jtool.pdg.PDGNode
equals, getCFGNode, hashCode, isBranch, isLoop, isParameter, isStatement, print, sortNodes, toString
Methods inherited from class org.jtool.graph.GraphNode
addIncomingEdge, addIncomingEdges, addOutgoingEdge, addOutgoingEdges, clear, equals, equals, getDstNodes, getId, getIncomingEdges, getOutgoingEdges, getSrcNodes, removeIncomingEdge, removeOutgoingEdge, setId, sortGraphNode
Methods inherited from class org.jtool.graph.GraphElement
difference, equals, equals, getIdString, intersection, subset, subsetEqual, union
-
Constructor Details
-
PDGEntry
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
Returns the entry node for the CFG corresponding to the PDG that has this entry node.- Returns:
- the entry node for the CFG
-
setPDG
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
Returns the PDG that has this entry node- Returns:
- the PDG
-
getQualifiedName
Returns the fully-qualified name of the PDG that has this entry node- Returns:
- the fully-qualified name of the PDG
-
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.
-