public class DirectedCallGraph extends java.lang.Object implements DirectedGraph
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List |
heads |
protected java.util.Set |
nodes |
protected java.util.Map<java.lang.Object,java.util.List> |
pred |
protected int |
size |
protected java.util.Map<java.lang.Object,java.util.List> |
succ |
protected java.util.List |
tails |
| Constructor and Description |
|---|
DirectedCallGraph(CallGraph cg,
SootMethodFilter filter,
java.util.Iterator heads,
boolean verbose)
The constructor does all the work here.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List |
getHeads()
You get a List of SootMethod.
|
java.util.List |
getPredsOf(java.lang.Object s)
You get a List of SootMethod.
|
java.util.List |
getSuccsOf(java.lang.Object s)
You get a List of SootMethod.
|
java.util.List |
getTails()
You get a List of SootMethod.
|
java.util.Iterator |
iterator()
You get an Iterator on SootMethod.
|
int |
size()
Returns the node count for this graph.
|
protected java.util.Set nodes
protected java.util.Map<java.lang.Object,java.util.List> succ
protected java.util.Map<java.lang.Object,java.util.List> pred
protected java.util.List heads
protected java.util.List tails
protected int size
public DirectedCallGraph(CallGraph cg, SootMethodFilter filter, java.util.Iterator heads, boolean verbose)
heads - is a List of SootMethodpublic java.util.List getHeads()
getHeads in interface DirectedGraphpublic java.util.List getTails()
getTails in interface DirectedGraphpublic java.util.Iterator iterator()
iterator in interface java.lang.Iterableiterator in interface DirectedGraphpublic int size()
DirectedGraphsize in interface DirectedGraphpublic java.util.List getSuccsOf(java.lang.Object s)
getSuccsOf in interface DirectedGraphpublic java.util.List getPredsOf(java.lang.Object s)
getPredsOf in interface DirectedGraphCopyright © 2012-2019 RoboVM AB. All Rights Reserved.