public static class FieldDescription.TypeSubstituting extends FieldDescription.AbstractBase
FieldDescription.AbstractBase, FieldDescription.ForLoadedField, FieldDescription.InDefinedShape, FieldDescription.Latent, FieldDescription.Token, FieldDescription.TypeSubstitutingByteCodeElement.Accessible, ByteCodeElement.TypeDependant<T extends ByteCodeElement.TypeDependant<?,S>,S extends ByteCodeElement.Token<S>>NamedElement.WithGenericName, NamedElement.WithRuntimeNameNO_DEFAULT_VALUENON_GENERIC_SIGNATUREEMPTY_MASKEMPTY_NAME, NO_NAME| Constructor and Description |
|---|
TypeSubstituting(GenericTypeDescription declaringType,
FieldDescription fieldDescription,
GenericTypeDescription.Visitor<? extends GenericTypeDescription> 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.
|
GenericTypeDescription |
getDeclaringType()
Returns the declaring type of this instance.
|
int |
getModifiers()
Returns the modifier that is described by this object.
|
String |
getName()
Returns the internalName of this byte code element.
|
GenericTypeDescription |
getType()
Returns the type of the described field.
|
asToken, asToken, equals, getDescriptor, getGenericSignature, getInternalName, getSourceCodeName, hashCode, isVisibleTo, toGenericString, toStringisAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isMandated, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSuper, isSynchronized, isSynthetic, isTransient, isVarArgs, isVolatileclone, finalize, getClass, notify, notifyAll, wait, wait, waitisAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isMandated, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSuper, isSynchronized, isSynthetic, isTransient, isVarArgs, isVolatilepublic TypeSubstituting(GenericTypeDescription declaringType, FieldDescription fieldDescription, GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor)
declaringType - The declaring type of the field.fieldDescription - The represented field.visitor - A visitor that is applied to the field type.public GenericTypeDescription getType()
FieldDescriptionpublic AnnotationList getDeclaredAnnotations()
AnnotatedCodeElementpublic GenericTypeDescription getDeclaringType()
DeclaredByTypenull if no such type exists.public int getModifiers()
ModifierReviewablepublic String getName()
NamedElement.WithRuntimeNamepublic FieldDescription.InDefinedShape asDefined()
ByteCodeElement.TypeDependantCopyright © 2014–2015. All rights reserved.