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.TypeDependant<T extends ByteCodeElement.TypeDependant<?,S>,S extends ByteCodeElement.Token<S>>ModifierReviewable.ForFieldDescription, ModifierReviewable.ForMethodDescription, ModifierReviewable.ForParameterDescription, ModifierReviewable.ForTypeDefinition, ModifierReviewable.OfAbstraction, ModifierReviewable.OfByteCodeElement, ModifierReviewable.OfEnumerationNamedElement.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. the form it is declared in and without its type variable's resolved.
|
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 internalName of this byte code element.
|
TypeDescription.Generic |
getType()
Returns the type of the described field.
|
asSignatureToken, asToken, equals, getActualModifiers, getActualName, getDescriptor, getGenericSignature, getInternalName, hashCode, isVisibleTo, toGenericString, toStringisAbstract, 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, getActualModifiersgetDescriptor, getGenericSignature, isVisibleToisTransient, isVolatileisEnumisDeprecated, isPackagePrivate, isPrivate, isProtected, isPublic, isStaticisFinal, 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()
FieldDescriptiongetType in interface FieldDescriptionpublic AnnotationList getDeclaredAnnotations()
AnnotatedCodeElementgetDeclaredAnnotations in interface AnnotatedCodeElementpublic TypeDescription.Generic getDeclaringType()
DeclaredByTypegetDeclaringType in interface DeclaredByTypegetDeclaringType in interface FieldDescription.InGenericShapenull if no such type exists.public int getModifiers()
ModifierReviewablegetModifiers in interface ModifierReviewablepublic String getName()
NamedElement.WithRuntimeNamegetName in interface NamedElement.WithRuntimeNamepublic FieldDescription.InDefinedShape asDefined()
ByteCodeElement.TypeDependantasDefined in interface ByteCodeElement.TypeDependant<FieldDescription.InDefinedShape,FieldDescription.Token>Copyright © 2014–2016. All rights reserved.