public class DirectedCallGraph extends Object implements DirectedGraph
Modifier and Type | Field and Description |
---|---|
protected List |
heads |
protected Set |
nodes |
protected Map<Object,List> |
pred |
protected int |
size |
protected Map<Object,List> |
succ |
protected List |
tails |
Constructor and Description |
---|
DirectedCallGraph(CallGraph cg,
SootMethodFilter filter,
Iterator heads,
boolean verbose)
The constructor does all the work here.
|
Modifier and Type | Method and Description |
---|---|
List |
getHeads()
You get a List of SootMethod.
|
List |
getPredsOf(Object s)
You get a List of SootMethod.
|
List |
getSuccsOf(Object s)
You get a List of SootMethod.
|
List |
getTails()
You get a List of SootMethod.
|
Iterator |
iterator()
You get an Iterator on SootMethod.
|
int |
size()
Returns the node count for this graph.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
protected Set nodes
protected List heads
protected List tails
protected int size
public DirectedCallGraph(CallGraph cg, SootMethodFilter filter, Iterator heads, boolean verbose)
heads
- is a List of SootMethodpublic List getHeads()
getHeads
in interface DirectedGraph
public List getTails()
getTails
in interface DirectedGraph
public Iterator iterator()
iterator
in interface Iterable
iterator
in interface DirectedGraph
public int size()
DirectedGraph
size
in interface DirectedGraph
public List getSuccsOf(Object s)
getSuccsOf
in interface DirectedGraph
public List getPredsOf(Object s)
getPredsOf
in interface DirectedGraph