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 | |
edu.umd.cs.findbugs.ba.vna | |
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 and Description |
---|---|
static FieldAnnotation |
FieldAnnotation.fromBCELField(org.apache.bcel.classfile.JavaClass jClass,
org.apache.bcel.classfile.Field field)
Factory method.
|
static FieldAnnotation |
FieldAnnotation.fromBCELField(java.lang.String className,
org.apache.bcel.classfile.Field field)
Factory method.
|
static FieldAnnotation |
FieldAnnotation.fromFieldDescriptor(FieldDescriptor fieldDescriptor)
Factory method.
|
static FieldAnnotation |
FieldAnnotation.fromReferencedField(DismantleBytecode visitor)
Factory method.
|
static FieldAnnotation |
FieldAnnotation.fromVisitedField(PreorderVisitor visitor)
Factory method.
|
static FieldAnnotation |
FieldAnnotation.fromXField(XField fieldDescriptor) |
FieldAnnotation |
OpcodeStack.Item.getFieldAnnotation()
Deprecated.
|
FieldAnnotation |
BugInstance.getPrimaryField()
Get the primary method annotation, which indicates where the bug occurs.
|
static FieldAnnotation |
FieldAnnotation.isRead(org.apache.bcel.generic.Instruction ins,
org.apache.bcel.generic.ConstantPoolGen cpg)
Is the given instruction a read of a field?
|
static FieldAnnotation |
FieldAnnotation.isWrite(org.apache.bcel.generic.Instruction ins,
org.apache.bcel.generic.ConstantPoolGen cpg)
Is the instruction a write of a field?
|
Modifier and Type | Method and Description |
---|---|
BugInstance |
BugInstance.addField(FieldAnnotation fieldAnnotation)
Add a field annotation
|
BugInstance |
BugInstance.addReferencedField(FieldAnnotation fa)
Add a field annotation for the field referenced by the FieldAnnotation
parameter
|
void |
BugAnnotationVisitor.visitFieldAnnotation(FieldAnnotation fieldAnnotation) |
Constructor and Description |
---|
FieldWarningSuppressor(java.lang.String bugPattern,
ClassAnnotation clazz,
FieldAnnotation field) |
OpcodeStack.Item(java.lang.String signature,
FieldAnnotation f) |
OpcodeStack.Item(java.lang.String signature,
FieldAnnotation f,
int fieldLoadedFromRegister) |
Modifier and Type | Method and Description |
---|---|
static XField |
XFactory.createXField(FieldAnnotation f) |
Modifier and Type | Method and Description |
---|---|
static FieldAnnotation |
NullDerefAndRedundantComparisonFinder.findFieldAnnotationFromValueNumber(org.apache.bcel.classfile.Method method,
Location location,
ValueNumber valueNumber,
ValueNumberFrame vnaFrame)
|
Modifier and Type | Method and Description |
---|---|
static FieldAnnotation |
ValueNumberSourceInfo.findFieldAnnotationFromValueNumber(org.apache.bcel.classfile.Method method,
Location location,
ValueNumber valueNumber,
ValueNumberFrame vnaFrame) |
Modifier and Type | Method and Description |
---|---|
FieldDescriptor |
DescriptorFactory.getFieldDescriptor(FieldAnnotation ma) |
Modifier and Type | Method and Description |
---|---|
static FieldAnnotation |
ClassNameRewriterUtil.convertFieldAnnotation(ClassNameRewriter classNameRewriter,
FieldAnnotation annotation)
Rewrite a FieldAnnotation to update the class name and field signature,
if needed.
|
Modifier and Type | Method and Description |
---|---|
static FieldAnnotation |
ClassNameRewriterUtil.convertFieldAnnotation(ClassNameRewriter classNameRewriter,
FieldAnnotation annotation)
Rewrite a FieldAnnotation to update the class name and field signature,
if needed.
|
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.