java.lang.Object
java.util.AbstractMap
Util.Collections.UnmodifiableMultiMap
Compil3r.Quad.CallGraph
Compil3r.Quad.CHACallGraph
Compil3r.Quad.RootedCHACallGraph
- All Implemented Interfaces:
- Util.Collections.BinaryRelation, Util.Graphs.Graph, java.util.Map, Util.Collections.MultiMap
- public class RootedCHACallGraph
- extends CHACallGraph
- Version:
- $Id: RootedCHACallGraph.java,v 1.6 2003/07/22 22:42:10 joewhaley Exp $
| Nested classes inherited from class java.util.AbstractMap |
|
| Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
| Methods inherited from class Compil3r.Quad.CallGraph |
calculateBackEdges, calculateEdgeRelation, calculateReachableMethods, contains, entrySet, findDepths, getAllCallSites, getAllMethods, getCallees, getCallees, getCallers, getCallGraphMap, getCallSiteMap, getCallSites, getCallSites, getCallSites0, getCallSites0, getCallSites1, getNavigator, getTargetMethod, getTargetMethods, getValues, numberOfTargetMethods, numberOfTargetMethods, toString |
| Methods inherited from class Util.Collections.UnmodifiableMultiMap |
add, addAll, addAll, clear, computeHistogram, computeHistogram, entrySetHelper, proxy, put, putAll, remove, remove, removeAll, retainAll |
roots
java.util.Collection roots
RootedCHACallGraph
public RootedCHACallGraph()
RootedCHACallGraph
public RootedCHACallGraph(java.util.Set classes)
getRoots
public java.util.Collection getRoots()
- Specified by:
getRoots in interface Util.Graphs.Graph- Overrides:
getRoots in class CHACallGraph
setRoots
public void setRoots(java.util.Collection roots)
- Description copied from class:
CallGraph
- Sets up the root methods to be the given set. Later call graph queries
use the value that you pass in here. Implementing this method is
optional -- it is only necessary if you use methods that require a root
set, like getReachableMethods().
- Overrides:
setRoots in class CHACallGraph
main
public static void main(java.lang.String[] args)
test
public static void test(CallGraph cg)