|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object soot.toolkits.graph.DominatorNode
public class DominatorNode
Represents a dominator node in DominatorTree. Usually you should use DominatorTree or DominanceFrontier to obtain information on how a node relates to other nodes instead of directly using any methods provided here.
Field Summary | |
---|---|
protected List |
children
|
protected Object |
gode
|
protected DominatorNode |
parent
|
Constructor Summary | |
---|---|
protected |
DominatorNode(Object gode)
|
Method Summary | |
---|---|
boolean |
addChild(DominatorNode child)
Adds a child to the internal list of children of this node in tree. |
List |
getChildren()
Returns a backed list of the children of this node in the DominatorTree. |
Object |
getGode()
Returns the node (from the original DirectedGraph) encapsulated by this DominatorNode. |
DominatorNode |
getParent()
Returns the parent of the node in the DominatorTree. |
boolean |
isHead()
Returns true if this node is the head of its DominatorTree. |
boolean |
isTail()
Returns true if this node is a tail of its DominatorTree. |
void |
setParent(DominatorNode parent)
Sets the parent of this node in the DominatorTree. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Object gode
protected DominatorNode parent
protected List children
Constructor Detail |
---|
protected DominatorNode(Object gode)
Method Detail |
---|
public void setParent(DominatorNode parent)
public boolean addChild(DominatorNode child)
public Object getGode()
public DominatorNode getParent()
public List getChildren()
public boolean isHead()
public boolean isTail()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |