Uses of Interface
edu.umd.cs.findbugs.ba.XField
Packages that use XField
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.
Classes of objects that are the result of executing an analysis
engine on a class or method. The classes in this particular package are
those that are independent of any particular bytecode-analysis framework
(e.g., BCEL or ASM). Two important classes in this package are
ClassData, which represents the raw data of a class, and ClassInfo,
which represents symbolic information parsed from the class data.
-
Uses of XField in edu.umd.cs.findbugs
Methods in edu.umd.cs.findbugs that return XFieldMethods in edu.umd.cs.findbugs with parameters of type XFieldModifier and TypeMethodDescriptionAdd a field annotation for an XField.BugInstance.addOptionalField
(XField xfield) Add a field annotation for an XField.static FieldAnnotation
FieldAnnotation.fromXField
(XField fieldDescriptor) void
OpcodeStack.Item.setLoadedFromField
(XField f, int fieldLoadedFromRegister) -
Uses of XField in edu.umd.cs.findbugs.ba
Classes in edu.umd.cs.findbugs.ba that implement XFieldMethods in edu.umd.cs.findbugs.ba that return XFieldModifier and TypeMethodDescriptionstatic XField
XFactory.createReferencedXField
(DismantleBytecode visitor) static XField
XFactory.createXField
(FieldDescriptor desc) static XField
XFactory.createXField
(FieldAnnotation f) static XField
XFactory.createXField
(PreorderVisitor visitor) Create an XField object from the field currently being visited by the given PreorderVisitor.static XField
XFactory.createXField
(String className, String fieldName, String fieldSignature, boolean isStatic) Create an XField objectstatic XField
XFactory.createXField
(String className, org.apache.bcel.classfile.Field field) Create an XField object from a BCEL Field.static XField
XFactory.createXField
(org.apache.bcel.classfile.JavaClass javaClass, org.apache.bcel.classfile.Field field) static XField
XFactory.createXField
(org.apache.bcel.generic.FieldInstruction fieldInstruction, org.apache.bcel.generic.ConstantPoolGen cpg) static XField
XFactory.createXFieldUsingSlashedClassName
(String className, String fieldName, String fieldSignature, boolean isStatic) Create an XField objectFind an XField matching given parameters.static XField
Hierarchy.findXField
(String className, String fieldName, String fieldSig, boolean isStatic) Look up a field with given name and signature in given class, returning it as anXField
object.static XField
Hierarchy.findXField
(org.apache.bcel.generic.FieldInstruction fins, org.apache.bcel.generic.ConstantPoolGen cpg) Look up the field referenced by given FieldInstruction, returning it as anXField
object.static XField
XFactory.getExactXField
(FieldDescriptor desc) static XField
XFactory.getExactXField
(String className, String name, String signature, boolean isStatic) Get an XField object exactly matching given class, name, and signature.static XField
XFactory.getExactXField
(String className, org.apache.bcel.classfile.Field f) InnerClassAccess.getField()
Methods in edu.umd.cs.findbugs.ba that return types with arguments of type XFieldModifier and TypeMethodDescriptionXFactory.allFields()
FieldSummary.getFieldsWritten
(XMethod method) XClass.getXFields()
Methods in edu.umd.cs.findbugs.ba with parameters of type XFieldModifier and TypeMethodDescriptionvoid
XFactory.addEmptyArrayField
(XField f) boolean
FieldSummary.addWrittenOutsideOfConstructor
(XField field) org.apache.bcel.classfile.ElementValue
JCIPAnnotationDatabase.getFieldAnnotation
(XField field, String annotationClass) static Map<Integer,
OpcodeStack.Item> PutfieldScanner.getPutfieldsFor
(org.apache.bcel.classfile.JavaClass theClass, org.apache.bcel.classfile.Method method, XField field) FieldSummary.getSummary
(XField field) boolean
JCIPAnnotationDatabase.hasFieldAnnotation
(XField field, String annotationClass) boolean
XFactory.isEmptyArrayField
(XField f) boolean
FieldSummary.isWrittenOutsideOfConstructor
(XField field) void
FieldSummary.mergeSummary
(XField fieldOperand, OpcodeStack.Item mergeValue) Method parameters in edu.umd.cs.findbugs.ba with type arguments of type XFieldModifier and TypeMethodDescriptionvoid
FieldSummary.setFieldsWritten
(XMethod method, Collection<XField> fields) Constructors in edu.umd.cs.findbugs.ba with parameters of type XFieldModifierConstructorDescriptionInnerClassAccess
(String methodName, String methodSig, XField field, boolean isLoad) -
Uses of XField in edu.umd.cs.findbugs.ba.heap
Methods in edu.umd.cs.findbugs.ba.heap with parameters of type XFieldModifier and TypeMethodDescriptionvoid
boolean
protected abstract void
protected void
protected void
protected abstract void
protected void
protected void
-
Uses of XField in edu.umd.cs.findbugs.ba.npe
Methods in edu.umd.cs.findbugs.ba.npe that return XFieldModifier and TypeMethodDescriptionstatic XField
NullDerefAndRedundantComparisonFinder.findXFieldFromValueNumber
(org.apache.bcel.classfile.Method method, Location location, ValueNumber valueNumber, ValueNumberFrame vnaFrame) Deprecated.PointerUsageRequiringNonNullValue.getNonNullField()
Methods in edu.umd.cs.findbugs.ba.npe with parameters of type XFieldModifier and TypeMethodDescriptionPointerUsageRequiringNonNullValue.getStoredIntoNonNullField
(XField f) IsNullValue.markInformationAsComingFromFieldValue
(XField field) Convert to a value known because it was returned from a method in a method property database. -
Uses of XField in edu.umd.cs.findbugs.ba.type
Methods in edu.umd.cs.findbugs.ba.type with parameters of type XField -
Uses of XField in edu.umd.cs.findbugs.ba.vna
Methods in edu.umd.cs.findbugs.ba.vna that return XFieldModifier and TypeMethodDescriptionstatic XField
ValueNumberSourceInfo.findXFieldFromValueNumber
(org.apache.bcel.classfile.Method method, Location location, ValueNumber valueNumber, ValueNumberFrame vnaFrame) AvailableLoad.getField()
Get the field for which a load is available.LoadedFieldSet.getField
(org.apache.bcel.generic.InstructionHandle handle) Get the field loaded or stored at given instruction, if any.Methods in edu.umd.cs.findbugs.ba.vna with parameters of type XFieldModifier and TypeMethodDescriptionvoid
Add a load of given field at given instruction.void
Add a store of given field at given instruction.LoadedFieldSet.getLoadStoreCount
(XField field) Get the number of times given field is loaded and stored within the method.boolean
Return whether or not the given field is loaded by any instruction in the method.void
ValueNumberFrame.killLoadsOfField
(XField field) Kill all loads of given field.Method parameters in edu.umd.cs.findbugs.ba.vna with type arguments of type XFieldConstructors in edu.umd.cs.findbugs.ba.vna with parameters of type XFieldModifierConstructorDescriptionAvailableLoad
(ValueNumber reference, XField field) Constructor from object reference and instance field.AvailableLoad
(XField staticField) Constructor from static field. -
Uses of XField in edu.umd.cs.findbugs.classfile.analysis
Classes in edu.umd.cs.findbugs.classfile.analysis that implement XFieldMethods in edu.umd.cs.findbugs.classfile.analysis that return XFieldModifier and TypeMethodDescriptionMethods in edu.umd.cs.findbugs.classfile.analysis that return types with arguments of type XField -
Uses of XField in edu.umd.cs.findbugs.detect
Methods in edu.umd.cs.findbugs.detect that return XFieldMethods in edu.umd.cs.findbugs.detect that return types with arguments of type XFieldModifier and TypeMethodDescriptionUnreadFields.getReadFields()
Deprecated.UseUnreadFieldsData.getReadFields()
insteadUnreadFieldsData.getReadFields()
UnreadFields.getWrittenFields()
Deprecated.UseUnreadFieldsData.getWrittenFields()
insteadUnreadFieldsData.getWrittenFields()
Methods in edu.umd.cs.findbugs.detect with parameters of type XFieldModifier and TypeMethodDescriptionboolean
InitializeNonnullFieldsInConstructor.checkForInitialization
(XField f) boolean
UnreadFields.isContainerField
(XField f) Deprecated.UseUnreadFieldsData.isContainerField(XField)
insteadboolean
UnreadFieldsData.isContainerField
(XField f) boolean
UnreadFields.isReflexive
(XField f) Deprecated.UseUnreadFieldsData.isReflexive(XField)
insteadboolean
UnreadFieldsData.isReflexive
(XField f) static boolean
FindInconsistentSync2.isServletField
(XField field) boolean
UnreadFields.isWrittenDuringInitialization
(XField f) Deprecated.boolean
UnreadFieldsData.isWrittenDuringInitialization
(XField f) boolean
UnreadFields.isWrittenInConstructor
(XField f) Deprecated.UseUnreadFieldsData.isWrittenInConstructor(XField)
insteadboolean
UnreadFieldsData.isWrittenInConstructor
(XField f) boolean
UnreadFields.isWrittenOutsideOfInitialization
(XField f) Deprecated.boolean
UnreadFieldsData.isWrittenOutsideOfInitialization
(XField f) Constructors in edu.umd.cs.findbugs.detect with parameters of type XField -
Uses of XField in edu.umd.cs.findbugs.visitclass
Methods in edu.umd.cs.findbugs.visitclass that return XFieldModifier and TypeMethodDescriptionPreorderVisitor.getXField()
DismantleBytecode.getXFieldOperand()
ValueNumberSourceInfo.findXFieldFromValueNumber(Method,Location,ValueNumber,ValueNumberFrame)
instead