public interface XField extends ClassMember, AnnotatedObject, ComparableField
This interface and its implementations exist because Field objects in BCEL are awkward to deal with. They are not Comparable, it is difficult to find out what class they belong to, etc.
If the resolved() method returns true, then any information queried from this object can be assumed to be accurate. If the resolved() method returns false, then FindBugs can't find the field and any information other than name/signature/etc. cannot be trusted.
Modifier and Type | Method and Description |
---|---|
FieldDescriptor |
getFieldDescriptor() |
boolean |
isReferenceType()
Is the type of the field a reference type?
|
boolean |
isVolatile()
Is this a volatile field?
|
getClassName, getName, getPackageName, getSignature, getSourceSignature, isResolved
getAccessFlags, getClassDescriptor, isDeprecated, isFinal, isPrivate, isProtected, isPublic, isStatic, isSynthetic
getClassDescriptor, isStatic
getAnnotation, getAnnotationDescriptors, getAnnotations, getClassDescriptor, getContainingScope, getElementType, isSynthetic
boolean isReferenceType()
boolean isVolatile()
FieldDescriptor getFieldDescriptor()
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.