| Modifier and Type | Field and Description |
|---|---|
| private ObjectTypedValueWrapper | constantInitializerValue
The constant initializer value for the field, if any. |
| private transient List | typeAnnotationDecorators
The type annotation decorators for the |
| private transient TypeSignature | typeDescriptor
The parsed type descriptor. |
| private transient TypeSignature | typeSignature
The parsed type signature. |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | FieldInfo(final String
The class the field is defined within. definingClassName, final String The name of the field. fieldName, final int The field modifiers. modifiers, final String The field type descriptor. typeDescriptorStr, final String The field type signature. typeSignatureStr, final Object The static constant value the field is initialized to, if any. constantInitializerValue, final AnnotationInfoList AnnotationInfo for any annotations on the field.Constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the result of comparison.the other FieldInfo object to compare to. other)Implements java. Sort in order of class name then field name. |
| public boolean | Returns: true if equalthe object to compare to obj)Overrides java. Use class name and field name for equals(). |
| protected void | findReferencedClassInfo(final Map<String, ClassInfo>
the map from class name to classNameToClassInfo, final Set<ClassInfo> ClassInfo.the referenced class info refdClassInfo, final LogNode the log log)Overrides io. Get |
| public Object | Returns: The initializer value, if this field has a constant initializer value, or null if none.Returns the constant initializer value of a field. |
| public String | Returns: The field modifiers, as a string.Implements abstract io. Get the field modifiers as a string, e.g. "public static final". |
| public String | Returns: The field modifiers, as a string.
Deprecated
Use
getModifiersStr() instead.
Deprecated -- use |
| public TypeSignature | Returns: The parsed type descriptor string for the field.Implements abstract io. Returns the parsed type descriptor for the field, which will not include type parameters. |
| public TypeSignature | Returns: The parsed type signature for the field, or null if not available.Implements abstract io. Returns the parsed type signature for the field, possibly including type parameters. |
| public TypeSignature | Returns: The parsed type signature for the field, or if not available, the parsed type descriptor for the field.Implements abstract io. Returns the type signature for the field, possibly including type parameters. |
| pack-priv void | handleRepeatableAnnotations(final Set<String>
the names of all repeatable annotations allRepeatableAnnotationNames)Handle |
| public int | Returns: the hashcodeOverrides java. Use hash code of class name and field name. |
| public boolean | Returns: True if the field is an enum constant.Returns true if this field is an enum constant. |
| public boolean | Returns: True if the field is transient.Returns true if this field is a transient field. |
| public Field | Returns: TheField reference for this field.Load the class this field is associated with, and get the |
| pack-priv void | setScanResult(final ScanResult
the scan result scanResult)Overrides io. Set ScanResult backreferences in info objects after scan has completed. |
| pack-priv void | |
| protected void | toString(final boolean
if true, use just the simple name of each class. useSimpleNames, final StringBuilder the buf buf)Implements abstract io. Render to string. |
| constantInitializerValue | back to summary |
|---|---|
| private ObjectTypedValueWrapper constantInitializerValue The constant initializer value for the field, if any. | |
| typeAnnotationDecorators | back to summary |
|---|---|
| private transient List<Classfile. The type annotation decorators for the | |
| typeDescriptor | back to summary |
|---|---|
| private transient TypeSignature typeDescriptor The parsed type descriptor. | |
| typeSignature | back to summary |
|---|---|
| private transient TypeSignature typeSignature The parsed type signature. | |
| FieldInfo | back to summary |
|---|---|
| pack-priv FieldInfo() Default constructor for deserialization. | |
| FieldInfo | back to summary |
|---|---|
| pack-priv FieldInfo(final String definingClassName, final String fieldName, final int modifiers, final String typeDescriptorStr, final String typeSignatureStr, final Object constantInitializerValue, final AnnotationInfoList annotationInfo, final List<Classfile. Constructor.
| |
| compareTo | back to summary |
|---|---|
| public int compareTo(final FieldInfo other) Implements java. Sort in order of class name then field name. | |
| equals | back to summary |
|---|---|
| public boolean equals(final Object obj) Overrides java. Use class name and field name for equals(). | |
| findReferencedClassInfo | back to summary |
|---|---|
| protected void findReferencedClassInfo(final Map<String, ClassInfo> classNameToClassInfo, final Set<ClassInfo> refdClassInfo, final LogNode log) Overrides io. Get | |
| getConstantInitializerValue | back to summary |
|---|---|
| public Object getConstantInitializerValue() Returns the constant initializer value of a field. Requires
| |
| getModifiersStr | back to summary |
|---|---|
| public String getModifiersStr() Implements abstract io. Get the field modifiers as a string, e.g. "public static final". For the modifier bits, call getModifiers(). | |
| getModifierStr | back to summary |
|---|---|
| public String getModifierStr()
Deprecated Use Deprecated -- use
| |
| getTypeDescriptor | back to summary |
|---|---|
| public TypeSignature getTypeDescriptor() Implements abstract io. Returns the parsed type descriptor for the field, which will not include type parameters. If you need generic
type parameters, call
| |
| getTypeSignature | back to summary |
|---|---|
| public TypeSignature getTypeSignature() Implements abstract io. Returns the parsed type signature for the field, possibly including type parameters. If this returns null,
indicating that no type signature information is available for this field, call
| |
| getTypeSignatureOrTypeDescriptor | back to summary |
|---|---|
| public TypeSignature getTypeSignatureOrTypeDescriptor() Implements abstract io. Returns the type signature for the field, possibly including type parameters. If the type signature is null, indicating that no type signature information is available for this field, returns the type descriptor instead.
| |
| handleRepeatableAnnotations | back to summary |
|---|---|
| pack-priv void handleRepeatableAnnotations(final Set<String> allRepeatableAnnotationNames) Handle | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Use hash code of class name and field name.
| |
| isEnum | back to summary |
|---|---|
| public boolean isEnum() Returns true if this field is an enum constant.
| |
| isTransient | back to summary |
|---|---|
| public boolean isTransient() Returns true if this field is a transient field.
| |
| loadClassAndGetField | back to summary |
|---|---|
| public Field loadClassAndGetField() throws IllegalArgumentException Load the class this field is associated with, and get the
| |
| setScanResult | back to summary |
|---|---|
| pack-priv void setScanResult(final ScanResult scanResult) Overrides io. Doc from io. Set ScanResult backreferences in info objects after scan has completed.
| |
| toString | back to summary |
|---|---|
| pack-priv void toString(final boolean includeModifiers, final boolean useSimpleNames, final StringBuilder buf) | |
| toString | back to summary |
|---|---|
| protected void toString(final boolean useSimpleNames, final StringBuilder buf) Implements abstract io. Doc from io. Render to string.
| |