|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jtool.jxplatform.graph.GraphNode
org.jtool.jxplatform.graph.pdg.PDGNode
A node of PDGs.
| Field Summary | |
protected CFGNode |
cfgnode
A CFG node correspoinding to this node. |
| Fields inherited from class org.jtool.jxplatform.graph.GraphNode |
id, nodeNum, sort |
| Fields inherited from interface org.jtool.jxplatform.graph.GraphNodeSort |
actualIn, actualOut, assignments, assignmentSt, branches, breakSt, callings, caseLabel, classEntry, classExit, constructorCall, constructorEntry, constructorExit, continueSt, defaultLabel, doSt, entries, exits, fieldDecl, formalIn, formalOut, forSt, ifSt, ignores, instanceCreation, interfaceEntry, interfaceExit, labelSt, localDecl, mergeSt, methodCall, methodEntry, methodExit, newSt, parameters, polymorphicCall, returnSt, switchSt, synchronizedSt, throwSt, trySt, whileSt |
| Constructor Summary | |
protected |
PDGNode()
Creates a new, empty object. |
protected |
PDGNode(CFGNode node)
Creates a new node. |
| Method Summary | |
CFGNode |
getCFGNode()
Returns a CFG node corresponding to this node. |
java.lang.String |
getDefId()
Returns the identifier of the DOM element corresponding to this node. |
GraphElementSet |
getIncomingCDEdges()
Returns control dependence edges incoming to this node. |
GraphElementList |
getIncomingDDEdges()
Returns data dependence edges incoming to this node. |
GraphElementList |
getOutgoingCDEdges()
Returns control dependence edges outgoing from this node. |
GraphElementList |
getOutgoingDDEdges()
Returns data dependence edges outgoing from this node. |
boolean |
isBranchSt()
Tests if this node corresponds to the branch statement. |
boolean |
isDominated()
Tests if this node is dominated by another node. |
boolean |
isFalseDominated()
Tests if this node is dominated by another node with respect to false dependence. |
boolean |
isLoopSt()
Tests if this node is classified into the loop ( while, do, and for). |
boolean |
isStatement()
Tests if this node indicates a statement node. |
boolean |
isTrueDominated()
Tests if this node is dominated by another node with respect to true dependence. |
void |
print()
Displays information about this node. |
void |
print(java.lang.String mesg,
java.lang.StringBuffer buf)
Displays information about this node. |
void |
write(java.lang.StringBuffer buf)
Collects information about this node for writing an XML document. |
| Methods inherited from class org.jtool.jxplatform.graph.GraphNode |
addIncomingEdge, addIncomingEdges, addOutgoingEdge, addOutgoingEdges, clear, clearId, clearIncomingEdges, clearOutgoingEdges, equals, getDstNodes, getId, getIncomingEdges, getOutgoingEdges, getSort, getSrcNodes, print, removeIncomingEdge, removeOutgoingEdge, setDstNodes, setIncomingEdges, setOutgoingEdges, setSort, setSrcNodes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected CFGNode cfgnode
| Constructor Detail |
protected PDGNode()
protected PDGNode(CFGNode node)
node - A CFG node correspoinding to this node.| Method Detail |
public CFGNode getCFGNode()
public java.lang.String getDefId()
CFGNode.getDefId().public boolean isStatement()
false.public boolean isLoopSt()
while, do, and for).
true if this node is classified into the loop, otherwise false.CFGNode.isLoopSt().public boolean isBranchSt()
true if this node corresponds to the branch statement, otherwise false.CFGNode.isBranchSt().public GraphElementSet getIncomingCDEdges()
public GraphElementList getOutgoingCDEdges()
public GraphElementList getIncomingDDEdges()
public GraphElementList getOutgoingDDEdges()
public boolean isDominated()
true if this node is dominated by another node, otherwise false.public boolean isTrueDominated()
true if this node is dominated by another node, otherwise false.public boolean isFalseDominated()
true if this node is dominated by another node, otherwise false.public void print()
print in interface GraphElementprint in class GraphNodeCFGNode.print().
public void print(java.lang.String mesg,
java.lang.StringBuffer buf)
mesg - The description about this node.buf - The information about the node.CFGNode.print(String, StringBuffer).public void write(java.lang.StringBuffer buf)
write in class GraphNodebuf - The information about the node.CFGNode.write(StringBuffer).
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||