public interface FieldDescription extends ByteCodeElement, DeclaredByType.WithMandatoryDeclaration, ModifierReviewable.ForFieldDescription, NamedElement.WithGenericName, ByteCodeElement.TypeDependant<FieldDescription.InDefinedShape,FieldDescription.Token>
equal(Object)
and hashCode()
implementations.Modifier and Type | Interface and Description |
---|---|
static class |
FieldDescription.AbstractBase
An abstract base implementation of a field description.
|
static class |
FieldDescription.ForLoadedField
An implementation of a field description for a loaded field.
|
static interface |
FieldDescription.InDefinedShape
Represents a field in its defined shape, i.e.
|
static interface |
FieldDescription.InGenericShape
Represents a field description in its generic shape, i.e.
|
static class |
FieldDescription.Latent
A latent field description describes a field that is not attached to a declaring
TypeDescription . |
static class |
FieldDescription.SignatureToken
A token that uniquely identifies a field by its name and type erasure.
|
static class |
FieldDescription.Token
A token representing a field's properties detached from a type.
|
static class |
FieldDescription.TypeSubstituting
A field description that represents a given field but with a substituted field type.
|
ByteCodeElement.TypeDependant<T extends ByteCodeElement.TypeDependant<?,S>,S extends ByteCodeElement.Token<S>>
AnnotationSource.Empty, AnnotationSource.Explicit
DeclaredByType.WithMandatoryDeclaration
ModifierReviewable.ForFieldDescription, ModifierReviewable.ForMethodDescription, ModifierReviewable.ForParameterDescription, ModifierReviewable.ForTypeDefinition, ModifierReviewable.OfAbstraction, ModifierReviewable.OfByteCodeElement, ModifierReviewable.OfEnumeration
NamedElement.WithDescriptor, NamedElement.WithGenericName, NamedElement.WithOptionalName, NamedElement.WithRuntimeName
Modifier and Type | Field and Description |
---|---|
static Object |
NO_DEFAULT_VALUE
A representative of a field's non-set default value.
|
NON_GENERIC_SIGNATURE
EMPTY_MASK
EMPTY_NAME, NO_NAME
Modifier and Type | Method and Description |
---|---|
FieldDescription.SignatureToken |
asSignatureToken()
Returns a signature token representing this field.
|
int |
getActualModifiers()
Returns the field's actual modifiers as it is present in a class file, i.e.
|
TypeDescription.Generic |
getType()
Returns the type of the described field.
|
isAccessibleTo, isVisibleTo
getDescriptor, getGenericSignature
getDeclaredAnnotations
getDeclaringType
getFieldManifestation, getFieldPersistence, isTransient, isVolatile
getEnumerationState, isEnum
getOwnership, getVisibility, isDeprecated, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic
getModifiers, getSyntheticState, isFinal, isSynthetic
toGenericString
getInternalName, getName
getActualName
asDefined, asToken
@AlwaysNull static final Object NO_DEFAULT_VALUE
TypeDescription.Generic getType()
int getActualModifiers()
FieldDescription.SignatureToken asSignatureToken()
Copyright © 2014–2022. All rights reserved.