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.
|
Modifier and Type | Method and Description |
---|---|
static ClassAnnotation |
ClassAnnotation.fromClassDescriptor(ClassDescriptor classDescriptor)
Factory method to create a ClassAnnotation from a ClassDescriptor.
|
ClassAnnotation |
ClassWarningSuppressor.getClassAnnotation() |
ClassAnnotation |
BugInstance.getPrimaryClass()
Get the primary class annotation, which indicates where the bug occurs.
|
ClassAnnotation |
ClassAnnotation.getTopLevelClass() |
Modifier and Type | Method and Description |
---|---|
int |
FuzzyBugComparator.compareClasses(BugCollection lhsCollection,
BugCollection rhsCollection,
ClassAnnotation lhsClass,
ClassAnnotation rhsClass) |
boolean |
ClassAnnotation.contains(ClassAnnotation other) |
java.lang.String |
FindBugsMessageFormat.format(BugAnnotation[] args,
ClassAnnotation primaryClass) |
java.lang.String |
FindBugsMessageFormat.format(BugAnnotation[] args,
ClassAnnotation primaryClass,
boolean abridgedMessages)
Format the message using the given array of BugAnnotations as arguments
to bind to the placeholders in the pattern string.
|
java.lang.String |
TypeAnnotation.format(java.lang.String key,
ClassAnnotation primaryClass) |
java.lang.String |
StringAnnotation.format(java.lang.String key,
ClassAnnotation primaryClass) |
java.lang.String |
SourceLineAnnotation.format(java.lang.String key,
ClassAnnotation primaryClass) |
java.lang.String |
PackageMemberAnnotation.format(java.lang.String key,
ClassAnnotation primaryClass)
Format the annotation.
|
java.lang.String |
LocalVariableAnnotation.format(java.lang.String key,
ClassAnnotation primaryClass) |
java.lang.String |
IntAnnotation.format(java.lang.String key,
ClassAnnotation primaryClass) |
java.lang.String |
BugAnnotation.format(java.lang.String key,
ClassAnnotation primaryClass)
Format the annotation as a String.
|
protected abstract java.lang.String |
PackageMemberAnnotation.formatPackageMember(java.lang.String key,
ClassAnnotation primaryClass)
Do default and subclass-specific formatting.
|
protected java.lang.String |
MethodAnnotation.formatPackageMember(java.lang.String key,
ClassAnnotation primaryClass) |
protected java.lang.String |
FieldAnnotation.formatPackageMember(java.lang.String key,
ClassAnnotation primaryClass) |
protected java.lang.String |
ClassAnnotation.formatPackageMember(java.lang.String key,
ClassAnnotation primaryClass) |
java.lang.String |
MethodAnnotation.getFullMethod(ClassAnnotation primaryClass)
Get the "full" method name.
|
java.lang.String |
MethodAnnotation.getNameInClass(ClassAnnotation primaryClass)
Get the "full" method name.
|
java.lang.String |
MethodAnnotation.getSignatureInClass(ClassAnnotation primaryClass) |
java.lang.String |
StringAnnotation.toString(ClassAnnotation primaryClass) |
java.lang.String |
SourceLineAnnotation.toString(ClassAnnotation primaryClass) |
java.lang.String |
PackageMemberAnnotation.toString(ClassAnnotation primaryClass) |
java.lang.String |
LocalVariableAnnotation.toString(ClassAnnotation primaryClass) |
java.lang.String |
IntAnnotation.toString(ClassAnnotation primaryClass) |
java.lang.String |
BugAnnotationWithSourceLines.toString(ClassAnnotation primaryClass) |
java.lang.String |
BugAnnotation.toString(ClassAnnotation primaryClass) |
void |
BugAnnotationVisitor.visitClassAnnotation(ClassAnnotation classAnnotation) |
Constructor and Description |
---|
ClassWarningSuppressor(java.lang.String bugPattern,
ClassAnnotation clazz) |
FieldWarningSuppressor(java.lang.String bugPattern,
ClassAnnotation clazz,
FieldAnnotation field) |
MethodWarningSuppressor(java.lang.String bugPattern,
ClassAnnotation clazz,
MethodAnnotation method) |
ParameterWarningSuppressor(java.lang.String bugPattern,
ClassAnnotation clazz,
MethodAnnotation method,
int register) |
Modifier and Type | Method and Description |
---|---|
EqualsKindSummary.KindOfEquals |
EqualsKindSummary.get(ClassAnnotation c) |
void |
EqualsKindSummary.put(ClassAnnotation c,
EqualsKindSummary.KindOfEquals k) |
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.