@HashCodeAndEqualsPlugin.Enhance protected abstract static class TypeDescription.Generic.AnnotationReader.Delegator.Chained extends TypeDescription.Generic.AnnotationReader.Delegator
TypeDescription.Generic.AnnotationReader.Delegator.Chained, TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedExecutableExceptionType, TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedExecutableParameterType, TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedField, TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedInterface, TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedMethodReturnType, TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedRecordComponent, TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedSuperClass, TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedTypeVariable, TypeDescription.Generic.AnnotationReader.Delegator.Simple
TypeDescription.Generic.AnnotationReader.Delegator, 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.NoOp
Modifier and Type | Field and Description |
---|---|
protected TypeDescription.Generic.AnnotationReader |
annotationReader
The underlying annotation reader.
|
Modifier | Constructor and Description |
---|---|
protected |
Chained(TypeDescription.Generic.AnnotationReader annotationReader)
Creates a new chained annotation reader.
|
Modifier and Type | Method and Description |
---|---|
AnnotatedElement |
resolve()
Resolves the underlying
AnnotatedElement . |
protected abstract AnnotatedElement |
resolve(AnnotatedElement annotatedElement)
Resolves the type annotations from a given annotated element into the annotated element that this instance represents.
|
asList, ofComponentType, ofOuterClass, ofOwnerType, ofTypeArgument, ofTypeVariableBoundType, ofWildcardLowerBoundType, ofWildcardUpperBoundType
protected final TypeDescription.Generic.AnnotationReader annotationReader
protected Chained(TypeDescription.Generic.AnnotationReader annotationReader)
annotationReader
- The underlying annotation reader.public AnnotatedElement resolve()
AnnotatedElement
.protected abstract AnnotatedElement resolve(AnnotatedElement annotatedElement)
annotatedElement
- The original annotated element.Copyright © 2014–2023. All rights reserved.