edu.umd.cs.findbugs
public class SelfCalls extends Object
Constructor Summary | |
---|---|
SelfCalls(ClassContext classContext)
Constructor.
|
Method Summary | |
---|---|
Iterator<Method> | calledMethodIterator()
Get an Iterator over self-called methods. |
Iterator<CallSite> | callSiteIterator()
Get an Iterator over all self call sites. |
void | execute()
Find the self calls. |
CallGraph | getCallGraph()
Get the self call graph for the class. |
boolean | hasSynchronization()
Does this class contain any explicit synchronization? |
boolean | wantCallsFor(Method method)
Determine whether we are interested in calls for the
given method. |
Parameters: classContext the ClassContext for the class
Parameters: method the method
Returns: true if we want call sites for the method, false if not