public static class FieldDescription.Latent extends FieldDescription.InDefinedShape.AbstractBase
TypeDescription.FieldDescription.InDefinedShape.AbstractBaseFieldDescription.ForLoadedField, FieldDescription.InDefinedShape, FieldDescription.InGenericShape, FieldDescription.Latent, FieldDescription.SignatureToken, FieldDescription.Token, FieldDescription.TypeSubstitutingByteCodeElement.Member, ByteCodeElement.TypeDependant<T extends ByteCodeElement.TypeDependant<?,S>,S extends ByteCodeElement.Token<S>>ModifierReviewable.ForFieldDescription, ModifierReviewable.ForMethodDescription, ModifierReviewable.ForParameterDescription, ModifierReviewable.ForTypeDefinition, ModifierReviewable.OfAbstraction, ModifierReviewable.OfByteCodeElement, ModifierReviewable.OfEnumerationDeclaredByType.WithMandatoryDeclarationAnnotationSource.Empty, AnnotationSource.ExplicitNamedElement.WithDescriptor, NamedElement.WithGenericName, NamedElement.WithOptionalName, NamedElement.WithRuntimeNameNO_DEFAULT_VALUENON_GENERIC_SIGNATUREEMPTY_MASKEMPTY_NAME, NO_NAME| Constructor and Description |
|---|
Latent(TypeDescription declaringType,
FieldDescription.Token token)
Creates a new latent field description.
|
Latent(TypeDescription declaringType,
String name,
int modifiers,
TypeDescription.Generic fieldType,
List<? extends AnnotationDescription> declaredAnnotations)
Creates a new latent field description.
|
| Modifier and Type | Method and Description |
|---|---|
AnnotationList |
getDeclaredAnnotations()
Returns a list of annotations that are declared by this instance.
|
TypeDescription |
getDeclaringType()
Returns the declaring type of this instance.
|
int |
getModifiers()
Returns the modifier that is described by this object.
|
String |
getName()
Returns the binary name of this byte code element.
|
TypeDescription.Generic |
getType()
Returns the type of the described field.
|
asDefinedasSignatureToken, asToken, equals, getActualModifiers, getActualName, getDescriptor, getGenericSignature, getInternalName, hashCode, isAccessibleTo, isVisibleTo, toGenericString, toStringgetEnumerationState, getFieldManifestation, getFieldPersistence, getMethodManifestation, getMethodStrictness, getOwnership, getParameterManifestation, getProvisioningState, getSynchronizationState, getSyntheticState, getTypeManifestation, getVisibility, isAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isMandated, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSynchronized, isSynthetic, isTransient, isVarArgs, isVolatileclone, finalize, getClass, notify, notifyAll, wait, wait, waitasSignatureToken, getActualModifiersgetFieldManifestation, getFieldPersistence, isTransient, isVolatilegetEnumerationState, isEnumisAccessibleTo, isVisibleTogetDescriptor, getGenericSignaturegetOwnership, getVisibility, isDeprecated, isPackagePrivate, isPrivate, isProtected, isPublic, isStaticgetSyntheticState, isFinal, isSynthetictoGenericStringgetInternalNamegetActualNameasTokenpublic Latent(TypeDescription declaringType, FieldDescription.Token token)
declaringType - The declaring type of the field.token - A token representing the field's shape.public Latent(TypeDescription declaringType, String name, int modifiers, TypeDescription.Generic fieldType, List<? extends AnnotationDescription> declaredAnnotations)
declaringType - The declaring type of the field.name - The name of the field.fieldType - The type of the field.modifiers - The field's modifiers.declaredAnnotations - The annotations of this field.public TypeDescription.Generic getType()
public AnnotationList getDeclaredAnnotations()
public String getName()
@Nonnull public TypeDescription getDeclaringType()
null if no such type exists.public int getModifiers()
Copyright © 2014–2025. All rights reserved.