public class CallGraphSearchUtil
extends java.lang.Object
CGNodes or types of
statements within a node| Modifier and Type | Method and Description |
|---|---|
static CGNode |
findMainMethod(CallGraph cg)
Find the main method in a call graph
|
static CGNode |
findMethod(CallGraph cg,
Descriptor d,
Atom name)
Find a method in a call graph
|
static CGNode |
findMethod(CallGraph cg,
java.lang.String name)
Find method with some name in a call graph
|
public static CGNode findMainMethod(CallGraph cg)
cg - call graphcom.ibm.wala.util.debug.UnimplementedError - if no main method is not foundpublic static CGNode findMethod(CallGraph cg, Descriptor d, Atom name)
cg - the call graphd - descriptor for the desired methodname - name of the desired methodcom.ibm.wala.util.debug.UnimplementedError - if no matching CGNode is found