public static class FieldDescription.TypeSubstituting extends FieldDescription.AbstractBase implements FieldDescription.InGenericShape
FieldDescription.AbstractBase, FieldDescription.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 |
|---|
TypeSubstituting(TypeDescription.Generic declaringType,
FieldDescription fieldDescription,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a field description with a substituted field type.
|
| Modifier and Type | Method and Description |
|---|---|
FieldDescription.InDefinedShape |
asDefined()
Returns this type dependant in its defined shape, i.e.
|
AnnotationList |
getDeclaredAnnotations()
Returns a list of annotations that are declared by this instance.
|
TypeDescription.Generic |
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.
|
asSignatureToken, 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 TypeSubstituting(TypeDescription.Generic declaringType, FieldDescription fieldDescription, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
declaringType - The declaring type of the field.fieldDescription - The represented field.visitor - A visitor that is applied to the field type.public TypeDescription.Generic getType()
getType in interface FieldDescriptionpublic AnnotationList getDeclaredAnnotations()
getDeclaredAnnotations in interface AnnotationSource@Nonnull public TypeDescription.Generic getDeclaringType()
getDeclaringType in interface DeclaredByTypegetDeclaringType in interface DeclaredByType.WithMandatoryDeclarationgetDeclaringType in interface FieldDescriptiongetDeclaringType in interface FieldDescription.InGenericShapenull if no such type exists.public int getModifiers()
getModifiers in interface ModifierReviewablepublic String getName()
getName in interface NamedElement.WithRuntimeNamepublic FieldDescription.InDefinedShape asDefined()
asDefined in interface ByteCodeElement.TypeDependant<FieldDescription.InDefinedShape,FieldDescription.Token>Copyright © 2014–2025. All rights reserved.