Class AbstractField
java.lang.Object
edu.umd.cs.findbugs.ba.AbstractClassMember
edu.umd.cs.findbugs.ba.AbstractField
- All Implemented Interfaces:
AccessibleEntity, ClassMember, ComparableField, XField, AnnotatedObject, FieldOrMethodName, Serializable, Comparable<ComparableField>
- Direct Known Subclasses:
UnresolvedXField
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractField(String className, String fieldName, String fieldSig, int accessFlags) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisEnum()final booleanIs the entity synthetic?booleanIs this a volatile field?Methods inherited from class AbstractClassMember
equals, getAccessFlags, getClassDescriptor, getClassName, getName, getPackageName, getSignature, hashCode, isFinal, isPrivate, isProtected, isPublic, isReferenceType, isResolved, isStatic, markAsResolved, toStringMethods inherited from interface AccessibleEntity
getAccessFlags, getClassDescriptor, isDeprecated, isFinal, isPrivate, isProtected, isPublic, isStaticMethods inherited from interface AnnotatedObject
getAnnotation, getAnnotationDescriptors, getAnnotations, getClassDescriptor, getContainingScope, getElementTypeMethods inherited from interface ClassMember
getClassName, getName, getPackageName, getSignature, getSourceSignature, isResolvedMethods inherited from interface Comparable
compareToMethods inherited from interface FieldOrMethodName
getClassDescriptor, isStaticMethods inherited from interface XField
isReferenceType
-
Constructor Details
-
AbstractField
protected AbstractField(@DottedClassName String className, String fieldName, String fieldSig, int accessFlags)
-
-
Method Details
-
isVolatile
public boolean isVolatile()Description copied from interface:XFieldIs this a volatile field?- Specified by:
isVolatilein interfaceXField
-
isSynthetic
public final boolean isSynthetic()Description copied from interface:AccessibleEntityIs the entity synthetic?- Specified by:
isSyntheticin interfaceAccessibleEntity- Specified by:
isSyntheticin interfaceAnnotatedObject
-
isEnum
-
getFieldDescriptor
- Specified by:
getFieldDescriptorin interfaceXField- Returns:
- FieldDescriptor referring to this field
-