This field's access flags.
This field's access flags. To analyze the access flags bit vector use org.opalj.bi.AccessFlag or org.opalj.bi.AccessFlagsIterator or use pattern matching.
The list of all annotations.
The list of all annotations. In general, if a specific annotation is searched for the method runtimeVisibleAnnotations or runtimeInvisibleAnnotations should be used.
The defined attributes.
The defined attributes. The JVM 8 specification defines the following attributes for fields: * ConstantValue, * Synthetic, * Signature, * Deprecated, * RuntimeVisibleAnnotationTable, * RuntimeInvisibleAnnotationTable, * RuntimeVisibleTypeAnnotationTable and * RuntimeInvisibleTypeAnnotationTable.
Defines an absolute order on Field objects w.r.t.
Defines an absolute order on Field objects w.r.t. their names and types.
The order is defined by first lexicographically comparing the names of the
fields and – if the names are identical – by comparing the types.
Returns this field's constant value.
The (erased) type of this field.
Returns this field's type signature.
Returns true if this (field, method, class) declaration is declared as deprecated.
Returns true if this (field, method, class) declaration is declared as deprecated.
The deprecated attribute is always set by the Java compiler when either the deprecated annotation or the JavaDoc tag is used.
True if the Synthetic access flag or attribute is used.
True if the Synthetic access flag or attribute is used.
The name of this field.
The name of this field. The name is interned (see String.intern() for
details.)
Note, that this name is not required to be a valid Java programming
language identifier.
Represents a single field declaration/definition.
Identity (w.r.t.
,equals/hashCode) is intentionally by reference (default behavior).Fields have – by default – no link to their defining ClassFile. However, if a analyses.Project is available then it is possible to get a
Field's ClassFile by usingProject'sclassFile(Field)method.