Uses of Class
edu.umd.cs.findbugs.FieldAnnotation
-
Packages that use FieldAnnotation 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. -
-
Uses of FieldAnnotation in edu.umd.cs.findbugs
Methods in edu.umd.cs.findbugs that return FieldAnnotation Modifier and Type Method Description static FieldAnnotation
FieldAnnotation. fromBCELField(java.lang.String className, org.apache.bcel.classfile.Field field)
Factory method.static FieldAnnotation
FieldAnnotation. fromBCELField(org.apache.bcel.classfile.JavaClass jClass, 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?Methods in edu.umd.cs.findbugs with parameters of type FieldAnnotation Modifier and Type Method Description BugInstance
BugInstance. addField(FieldAnnotation fieldAnnotation)
Add a field annotationBugInstance
BugInstance. addReferencedField(FieldAnnotation fa)
Add a field annotation for the field referenced by the FieldAnnotation parametervoid
BugAnnotationVisitor. visitFieldAnnotation(FieldAnnotation fieldAnnotation)
Constructors in edu.umd.cs.findbugs with parameters of type FieldAnnotation Constructor Description FieldWarningSuppressor(java.lang.String bugPattern, ClassAnnotation clazz, FieldAnnotation field)
Item(java.lang.String signature, FieldAnnotation f)
Item(java.lang.String signature, FieldAnnotation f, int fieldLoadedFromRegister)
-
Uses of FieldAnnotation in edu.umd.cs.findbugs.ba
Methods in edu.umd.cs.findbugs.ba with parameters of type FieldAnnotation Modifier and Type Method Description static XField
XFactory. createXField(FieldAnnotation f)
-
Uses of FieldAnnotation in edu.umd.cs.findbugs.ba.npe
Methods in edu.umd.cs.findbugs.ba.npe that return FieldAnnotation Modifier and Type Method Description static FieldAnnotation
NullDerefAndRedundantComparisonFinder. findFieldAnnotationFromValueNumber(org.apache.bcel.classfile.Method method, Location location, ValueNumber valueNumber, ValueNumberFrame vnaFrame)
-
Uses of FieldAnnotation in edu.umd.cs.findbugs.ba.vna
Methods in edu.umd.cs.findbugs.ba.vna that return FieldAnnotation Modifier and Type Method Description static FieldAnnotation
ValueNumberSourceInfo. findFieldAnnotationFromValueNumber(org.apache.bcel.classfile.Method method, Location location, ValueNumber valueNumber, ValueNumberFrame vnaFrame)
-
Uses of FieldAnnotation in edu.umd.cs.findbugs.classfile
Methods in edu.umd.cs.findbugs.classfile with parameters of type FieldAnnotation Modifier and Type Method Description FieldDescriptor
DescriptorFactory. getFieldDescriptor(FieldAnnotation ma)
-
Uses of FieldAnnotation in edu.umd.cs.findbugs.model
Methods in edu.umd.cs.findbugs.model that return FieldAnnotation Modifier and Type Method Description static FieldAnnotation
ClassNameRewriterUtil. convertFieldAnnotation(ClassNameRewriter classNameRewriter, FieldAnnotation annotation)
Rewrite a FieldAnnotation to update the class name and field signature, if needed.Methods in edu.umd.cs.findbugs.model with parameters of type FieldAnnotation Modifier and Type Method Description static FieldAnnotation
ClassNameRewriterUtil. convertFieldAnnotation(ClassNameRewriter classNameRewriter, FieldAnnotation annotation)
Rewrite a FieldAnnotation to update the class name and field signature, if needed.
-