public class SlowCallGraph extends CallGraph
dummy, srcMethodToEdge, srcUnitToEdge, tgtToEdge| Constructor and Description |
|---|
SlowCallGraph() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addEdge(Edge e)
Used to add an edge to the call graph.
|
java.util.Iterator |
edgesInto(MethodOrMethodContext m)
Returns an iterator over all edges that have m as their target method.
|
java.util.Iterator |
edgesOutOf(MethodOrMethodContext m)
Returns an iterator over all edges that have m as their source method.
|
java.util.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.
|
java.util.Iterator |
sourceMethods()
Returns an iterator over all methods that are the sources of at least
one edge.
|
java.lang.String |
toString() |
findEdge, isEntryMethod, iterator, removeAllEdgesOutOf, swapEdgesOutOfpublic boolean addEdge(Edge e)
public boolean removeEdge(Edge e)
removeEdge in class CallGraphpublic java.util.Iterator sourceMethods()
sourceMethods in class CallGraphpublic java.util.Iterator edgesOutOf(Unit u)
edgesOutOf in class CallGraphpublic java.util.Iterator edgesOutOf(MethodOrMethodContext m)
edgesOutOf in class CallGraphpublic java.util.Iterator edgesInto(MethodOrMethodContext m)
public QueueReader listener()
public QueueReader newListener()
newListener in class CallGraph