com.ibm.wala.ipa.callgraph
Class CallGraphStats

java.lang.Object
  extended by com.ibm.wala.ipa.callgraph.CallGraphStats

public class CallGraphStats
extends java.lang.Object


Constructor Summary
CallGraphStats()
           
 
Method Summary
static java.util.Set<MethodReference> collectMethods(CallGraph cg)
          Walk the call graph and return the set of MethodReferences that appear in the graph.
static int countBytecodeBytes(CallGraph cg)
           
static java.lang.String getStats(CallGraph cg)
          Constructor for CallGraphStats.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallGraphStats

public CallGraphStats()
Method Detail

getStats

public static java.lang.String getStats(CallGraph cg)
Constructor for CallGraphStats.

Throws:
java.lang.IllegalArgumentException - if cg is null

countBytecodeBytes

public static int countBytecodeBytes(CallGraph cg)
Parameters:
cg -
Returns:
the number of bytecode bytes
Throws:
java.lang.IllegalArgumentException - if cg is null

collectMethods

public static java.util.Set<MethodReference> collectMethods(CallGraph cg)
Walk the call graph and return the set of MethodReferences that appear in the graph.

Parameters:
cg -
Returns:
a set of MethodReferences
Throws:
java.lang.IllegalArgumentException - if cg is null