public class PegCallGraph extends Object implements DirectedGraph
Constructor and Description |
---|
PegCallGraph(CallGraph cg) |
Modifier and Type | Method and Description |
---|---|
Set |
getClinitMethods() |
List |
getHeads()
Returns a list of entry points for this graph.
|
List |
getPredsOf(Object s)
Returns a list of predecessors for the given node in the graph.
|
List |
getSuccsOf(Object s)
Returns a list of successors for the given node in the graph.
|
List |
getTails()
Returns a list of exit points for this graph.
|
List |
getTrimSuccsOf(Object s) |
Iterator |
iterator()
Returns an iterator for the nodes in this graph.
|
int |
size()
Returns the node count for this graph.
|
protected void |
testChain() |
protected void |
testMethodToPred() |
protected void |
testMethodToSucc() |
void |
trim() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public PegCallGraph(CallGraph cg)
protected void testChain()
public Set getClinitMethods()
public void trim()
public List getHeads()
DirectedGraph
getHeads
in interface DirectedGraph
public List getTails()
DirectedGraph
getTails
in interface DirectedGraph
public List getSuccsOf(Object s)
DirectedGraph
getSuccsOf
in interface DirectedGraph
public List getPredsOf(Object s)
DirectedGraph
getPredsOf
in interface DirectedGraph
public Iterator iterator()
DirectedGraph
iterator
in interface Iterable
iterator
in interface DirectedGraph
public int size()
DirectedGraph
size
in interface DirectedGraph
protected void testMethodToSucc()
protected void testMethodToPred()