|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectsoot.jimple.toolkits.callgraph.CallGraph
soot.jimple.toolkits.callgraph.SlowCallGraph
Represents the edges in a call graph. This class is meant to act as only a container of edges; code for various call graph builders should be kept out of it, as well as most code for accessing the edges.
| Constructor Summary | |
SlowCallGraph()
|
|
| Method Summary | |
boolean |
addEdge(Edge e)
Used to add an edge to the call graph. |
Iterator |
edgesInto(MethodOrMethodContext m)
Returns an iterator over all edges that have m as their target method. |
Iterator |
edgesOutOf(MethodOrMethodContext m)
Returns an iterator over all edges that have m as their source method. |
Iterator |
edgesOutOf(Unit u)
Returns an iterator over all edges that have u as their source unit. |
QueueReader |
listener()
Returns a QueueReader object containing all edges added so far, and which will be informed of any new edges that are later added to the graph. |
QueueReader |
newListener()
Returns a QueueReader object which will contain ONLY NEW edges which will be added to the graph. |
boolean |
removeEdge(Edge e)
Removes the edge e from the call graph. |
int |
size()
Returns the number of edges in the call graph. |
Iterator |
sourceMethods()
Returns an iterator over all methods that are the sources of at least one edge. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SlowCallGraph()
| Method Detail |
public boolean addEdge(Edge e)
addEdge in class CallGraphpublic boolean removeEdge(Edge e)
removeEdge in class CallGraphpublic Iterator sourceMethods()
sourceMethods in class CallGraphpublic Iterator edgesOutOf(Unit u)
edgesOutOf in class CallGraphpublic Iterator edgesOutOf(MethodOrMethodContext m)
edgesOutOf in class CallGraphpublic Iterator edgesInto(MethodOrMethodContext m)
edgesInto in class CallGraphpublic QueueReader listener()
listener in class CallGraphpublic QueueReader newListener()
newListener in class CallGraphpublic String toString()
toString in class CallGraphpublic int size()
size in class CallGraph
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||