Package | Description |
---|---|
edu.umd.cs.findbugs |
Main package for the FindBugs application - contains the engine class
(
FindBugs ), the object model classes for bug
instances (BugInstance ,
BugAnnotation ), and other miscellany. |
edu.umd.cs.findbugs.ba |
A bytecode analysis framework for BCEL, providing CFG construction, generic
dataflow analysis, and a variety of specific dataflow analyses.
|
edu.umd.cs.findbugs.ba.npe |
Modifier and Type | Method | Description |
---|---|---|
BugInstance |
BugInstance.addMethod(JavaClassAndMethod classAndMethod) |
Add a method annotation.
|
Modifier and Type | Method | Description |
---|---|---|
static JavaClassAndMethod |
Hierarchy.findConcreteMethod(org.apache.bcel.classfile.JavaClass javaClass,
java.lang.String methodName,
java.lang.String methodSig) |
Deprecated.
|
static JavaClassAndMethod |
Hierarchy.findExactMethod(org.apache.bcel.generic.InvokeInstruction inv,
org.apache.bcel.generic.ConstantPoolGen cpg) |
Look up the method referenced by given InvokeInstruction.
|
static JavaClassAndMethod |
Hierarchy.findExactMethod(org.apache.bcel.generic.InvokeInstruction inv,
org.apache.bcel.generic.ConstantPoolGen cpg,
JavaClassAndMethodChooser chooser) |
Look up the method referenced by given InvokeInstruction.
|
static JavaClassAndMethod |
Hierarchy.findInvocationLeastUpperBound(org.apache.bcel.classfile.JavaClass jClass,
java.lang.String methodName,
java.lang.String methodSig,
JavaClassAndMethodChooser methodChooser,
boolean invokeInterface) |
|
static JavaClassAndMethod |
Hierarchy.findInvocationLeastUpperBound(org.apache.bcel.generic.InvokeInstruction inv,
org.apache.bcel.generic.ConstantPoolGen cpg) |
Find the least upper bound method in the class hierarchy which could be
called by the given InvokeInstruction.
|
static JavaClassAndMethod |
Hierarchy.findInvocationLeastUpperBound(org.apache.bcel.generic.InvokeInstruction inv,
org.apache.bcel.generic.ConstantPoolGen cpg,
JavaClassAndMethodChooser methodChooser) |
|
static JavaClassAndMethod |
Hierarchy.findMethod(org.apache.bcel.classfile.JavaClass[] classList,
java.lang.String methodName,
java.lang.String methodSig) |
Deprecated.
|
static JavaClassAndMethod |
Hierarchy.findMethod(org.apache.bcel.classfile.JavaClass[] classList,
java.lang.String methodName,
java.lang.String methodSig,
JavaClassAndMethodChooser chooser) |
Find a method in given list of classes, searching the classes in order.
|
static JavaClassAndMethod |
Hierarchy.findMethod(org.apache.bcel.classfile.JavaClass javaClass,
java.lang.String methodName,
java.lang.String methodSig) |
Find a method in given class.
|
static JavaClassAndMethod |
Hierarchy.findMethod(org.apache.bcel.classfile.JavaClass javaClass,
java.lang.String methodName,
java.lang.String methodSig,
JavaClassAndMethodChooser chooser) |
|
static JavaClassAndMethod |
Hierarchy.visitSuperClassMethods(JavaClassAndMethod method,
JavaClassAndMethodChooser chooser) |
Visit all superclass methods which the given method overrides.
|
static JavaClassAndMethod |
Hierarchy.visitSuperInterfaceMethods(JavaClassAndMethod method,
JavaClassAndMethodChooser chooser) |
Visit all superinterface methods which the given method implements.
|
Modifier and Type | Method | Description |
---|---|---|
static java.util.Set<JavaClassAndMethod> |
Hierarchy.resolveMethodCallTargets(org.apache.bcel.generic.InvokeInstruction invokeInstruction,
TypeFrame typeFrame,
org.apache.bcel.generic.ConstantPoolGen cpg) |
Resolve possible method call targets.
|
static java.util.Set<JavaClassAndMethod> |
Hierarchy.resolveMethodCallTargets(org.apache.bcel.generic.ReferenceType receiverType,
org.apache.bcel.generic.InvokeInstruction invokeInstruction,
org.apache.bcel.generic.ConstantPoolGen cpg) |
Resolve possible instance method call targets.
|
static java.util.Set<JavaClassAndMethod> |
Hierarchy.resolveMethodCallTargets(org.apache.bcel.generic.ReferenceType receiverType,
org.apache.bcel.generic.InvokeInstruction invokeInstruction,
org.apache.bcel.generic.ConstantPoolGen cpg,
boolean receiverTypeIsExact) |
Resolve possible instance method call targets.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
CompoundMethodChooser.choose(JavaClassAndMethod javaClassAndMethod) |
Deprecated.
|
boolean |
JavaClassAndMethodChooser.choose(JavaClassAndMethod javaClassAndMethod) |
Deprecated.
|
static XMethod |
XFactory.createXMethod(JavaClassAndMethod classAndMethod) |
|
static JavaClassAndMethod |
Hierarchy.visitSuperClassMethods(JavaClassAndMethod method,
JavaClassAndMethodChooser chooser) |
Visit all superclass methods which the given method overrides.
|
static JavaClassAndMethod |
Hierarchy.visitSuperInterfaceMethods(JavaClassAndMethod method,
JavaClassAndMethodChooser chooser) |
Visit all superinterface methods which the given method implements.
|
Constructor | Description |
---|---|
MethodUnprofitableException(JavaClassAndMethod method) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
JavaClassAndMethod |
IsNullValueAnalysis.getClassAndMethod() |
|
JavaClassAndMethod |
NonNullParamViolation.getClassAndMethod() |
|
JavaClassAndMethod |
NonNullSpecification.getClassAndMethod() |
Modifier and Type | Method | Description |
---|---|---|
void |
IsNullValueAnalysis.setClassAndMethod(JavaClassAndMethod classAndMethod) |
Constructor | Description |
---|---|
NonNullParamViolation(JavaClassAndMethod classAndMethod,
int param) |
|
NonNullSpecification(JavaClassAndMethod classAndMethod,
ParameterProperty nonParamProperty,
ParameterProperty possiblyNullProperty) |
SpotBugs is licensed under the LGPL.