@HashCodeAndEqualsPlugin.Enhance public static class TypeDescription.Generic.AnnotationReader.ForTypeArgument extends TypeDescription.Generic.AnnotationReader.Delegator.Chained
TypeDescription.Generic.AnnotationReader.Delegator.ChainedTypeDescription.Generic.AnnotationReader.Delegator, TypeDescription.Generic.AnnotationReader.Dispatcher, TypeDescription.Generic.AnnotationReader.ForComponentType, TypeDescription.Generic.AnnotationReader.ForOwnerType, TypeDescription.Generic.AnnotationReader.ForTypeArgument, TypeDescription.Generic.AnnotationReader.ForTypeVariableBoundType, TypeDescription.Generic.AnnotationReader.ForWildcardLowerBoundType, TypeDescription.Generic.AnnotationReader.ForWildcardUpperBoundType, TypeDescription.Generic.AnnotationReader.NoOpannotationReader, NOT_AVAILABLENO_ARGUMENTSDISPATCHER| Modifier | Constructor and Description |
|---|---|
protected |
ForTypeArgument(TypeDescription.Generic.AnnotationReader annotationReader,
int index)
Creates a chained annotation reader for reading a component type.
|
| Modifier and Type | Method and Description |
|---|---|
protected AnnotatedElement |
resolve(AnnotatedElement annotatedElement)
Resolves the type annotations from a given annotated element into the annotated element that this instance represents.
|
of, resolveasList, ofComponentType, ofOuterClass, ofOwnerType, ofTypeArgument, ofTypeVariableBoundType, ofWildcardLowerBoundType, ofWildcardUpperBoundTypeprotected ForTypeArgument(TypeDescription.Generic.AnnotationReader annotationReader, int index)
annotationReader - The annotation reader from which to delegate.index - The type argument's index.protected AnnotatedElement resolve(AnnotatedElement annotatedElement)
TypeDescription.Generic.AnnotationReader.Delegator.Chainedresolve in class TypeDescription.Generic.AnnotationReader.Delegator.ChainedannotatedElement - The original annotated element.Copyright © 2014–2019. All rights reserved.