public class SelfCalls
extends java.lang.Object
| Constructor | Description |
|---|---|
SelfCalls(ClassContext classContext) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Iterator<org.apache.bcel.classfile.Method> |
calledMethodIterator() |
Get an Iterator over self-called methods.
|
java.util.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(org.apache.bcel.classfile.Method method) |
Determine whether we are interested in calls for the given method.
|
public SelfCalls(ClassContext classContext)
classContext - the ClassContext for the classpublic void execute()
throws CFGBuilderException
CFGBuilderExceptionpublic CallGraph getCallGraph()
public java.util.Iterator<org.apache.bcel.classfile.Method> calledMethodIterator()
public boolean wantCallsFor(org.apache.bcel.classfile.Method method)
method - the methodpublic java.util.Iterator<CallSite> callSiteIterator()
public boolean hasSynchronization()
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.