Uses of Class
edu.umd.cs.findbugs.FieldAnnotation
Packages that use FieldAnnotation
Package
Description
Main package for the FindBugs application - contains the
engine class (FindBugs), the object model classes for bug instances
(BugInstance, BugAnnotation), and other miscellany.
A high-level abstraction layer for codebases, classes, and components of
classes (methods, fields, instructions, etc.).
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 FieldAnnotationModifier and TypeMethodDescriptionstatic FieldAnnotationFieldAnnotation.fromBCELField(String className, org.apache.bcel.classfile.Field field) Factory method.static FieldAnnotationFieldAnnotation.fromBCELField(org.apache.bcel.classfile.JavaClass jClass, org.apache.bcel.classfile.Field field) Factory method.static FieldAnnotationFieldAnnotation.fromFieldDescriptor(FieldDescriptor fieldDescriptor) Factory method.static FieldAnnotationFieldAnnotation.fromReferencedField(DismantleBytecode visitor) Factory method.static FieldAnnotationFieldAnnotation.fromVisitedField(PreorderVisitor visitor) Factory method.static FieldAnnotationFieldAnnotation.fromXField(XField fieldDescriptor) OpcodeStack.Item.getFieldAnnotation()Deprecated.BugInstance.getPrimaryField()Get the primary method annotation, which indicates where the bug occurs.static FieldAnnotationFieldAnnotation.isRead(org.apache.bcel.generic.Instruction ins, org.apache.bcel.generic.ConstantPoolGen cpg) Is the given instruction a read of a field?static FieldAnnotationFieldAnnotation.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 FieldAnnotationModifier and TypeMethodDescriptionBugInstance.addField(FieldAnnotation fieldAnnotation) Add a field annotationBugInstance.addReferencedField(FieldAnnotation fa) Add a field annotation for the field referenced by the FieldAnnotation parametervoidBugAnnotationVisitor.visitFieldAnnotation(FieldAnnotation fieldAnnotation) Constructors in edu.umd.cs.findbugs with parameters of type FieldAnnotationModifierConstructorDescriptionFieldWarningSuppressor(String bugPattern, ClassAnnotation clazz, FieldAnnotation field) Item(String signature, FieldAnnotation f) Item(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 -
Uses of FieldAnnotation in edu.umd.cs.findbugs.ba.npe
Methods in edu.umd.cs.findbugs.ba.npe that return FieldAnnotationModifier and TypeMethodDescriptionstatic FieldAnnotationNullDerefAndRedundantComparisonFinder.findFieldAnnotationFromValueNumber(org.apache.bcel.classfile.Method method, Location location, ValueNumber valueNumber, ValueNumberFrame vnaFrame) Deprecated. -
Uses of FieldAnnotation in edu.umd.cs.findbugs.ba.vna
Methods in edu.umd.cs.findbugs.ba.vna that return FieldAnnotationModifier and TypeMethodDescriptionstatic FieldAnnotationValueNumberSourceInfo.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 -
Uses of FieldAnnotation in edu.umd.cs.findbugs.model
Methods in edu.umd.cs.findbugs.model that return FieldAnnotationModifier and TypeMethodDescriptionstatic FieldAnnotationClassNameRewriterUtil.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 FieldAnnotationModifier and TypeMethodDescriptionstatic FieldAnnotationClassNameRewriterUtil.convertFieldAnnotation(ClassNameRewriter classNameRewriter, FieldAnnotation annotation) Rewrite a FieldAnnotation to update the class name and field signature, if needed.
ValueNumberSourceInfo.findFieldAnnotationFromValueNumber(Method,Location,ValueNumber,ValueNumberFrame)instead