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.classfile |
A high-level abstraction layer for codebases, classes, and components of
classes (methods, fields, instructions, etc.).
|
edu.umd.cs.findbugs.model |
Eventually, all model classes (BugInstance, BugCollection, etc.) should go
in this package.
|
Modifier and Type | Method | Description |
---|---|---|
static MethodAnnotation |
MethodAnnotation.fromCalledMethod(DismantleBytecode visitor) |
Factory method to create a MethodAnnotation from a method
called by the instruction the given visitor is currently visiting.
|
static MethodAnnotation |
MethodAnnotation.fromCalledMethod(java.lang.String className,
java.lang.String methodName,
java.lang.String methodSig,
boolean isStatic) |
Create a MethodAnnotation from a method that is not
directly accessible.
|
static MethodAnnotation |
MethodAnnotation.fromForeignMethod(java.lang.String className,
java.lang.String methodName,
java.lang.String methodSig,
boolean isStatic) |
Factory method to create the MethodAnnotation from
the classname, method name, signature, etc.
|
static MethodAnnotation |
MethodAnnotation.fromForeignMethod(java.lang.String className,
java.lang.String methodName,
java.lang.String methodSig,
int accessFlags) |
Factory method to create the MethodAnnotation from
the classname, method name, signature, etc.
|
static MethodAnnotation |
MethodAnnotation.fromVisitedMethod(PreorderVisitor visitor) |
Factory method to create a MethodAnnotation from the method the
given visitor is currently visiting.
|
static MethodAnnotation |
MethodAnnotation.fromXMethod(XMethod xmethod) |
Create a MethodAnnotation from an XMethod.
|
MethodAnnotation |
ProgramPoint.getMethodAnnotation() |
|
MethodAnnotation |
BugInstance.getPrimaryMethod() |
Get the primary method annotation, which indicates where the bug occurs.
|
Modifier and Type | Method | Description |
---|---|---|
BugInstance |
BugInstance.addClassAndMethod(MethodAnnotation methodAnnotation) |
Add class and method annotations for given method.
|
BugInstance |
BugInstance.addMethod(MethodAnnotation methodAnnotation) |
Add a method annotation.
|
int |
FuzzyBugComparator.compareMethods(BugCollection lhsCollection,
BugCollection rhsCollection,
MethodAnnotation lhsMethod,
MethodAnnotation rhsMethod) |
|
void |
BugAnnotationVisitor.visitMethodAnnotation(MethodAnnotation methodAnnotation) |
Constructor | Description |
---|---|
MethodWarningSuppressor(java.lang.String bugPattern,
ClassAnnotation clazz,
MethodAnnotation method) |
|
ParameterWarningSuppressor(java.lang.String bugPattern,
ClassAnnotation clazz,
MethodAnnotation method,
int register) |
Modifier and Type | Method | Description |
---|---|---|
static XMethod |
XFactory.createXMethod(MethodAnnotation ma) |
Modifier and Type | Method | Description |
---|---|---|
MethodDescriptor |
DescriptorFactory.getMethodDescriptor(MethodAnnotation ma) |
Modifier and Type | Method | Description |
---|---|---|
static MethodAnnotation |
ClassNameRewriterUtil.convertMethodAnnotation(ClassNameRewriter classNameRewriter,
MethodAnnotation annotation) |
Rewrite a MethodAnnotation to update the class name,
and any class names mentioned in the method signature.
|
Modifier and Type | Method | Description |
---|---|---|
static MethodAnnotation |
ClassNameRewriterUtil.convertMethodAnnotation(ClassNameRewriter classNameRewriter,
MethodAnnotation annotation) |
Rewrite a MethodAnnotation to update the class name,
and any class names mentioned in the method signature.
|
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.