public static class TypeDescription.Generic.AnnotationReader.ForOwnerType extends TypeDescription.Generic.AnnotationReader.Delegator.Chained
TypeDescription.Generic.AnnotationReader.Delegator.Chained, TypeDescription.Generic.AnnotationReader.Delegator.ForRecordComponent
TypeDescription.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.NoOp
annotationReader, NOT_AVAILABLE
NO_ARGUMENTS
DISPATCHER
Modifier | Constructor and Description |
---|---|
protected |
ForOwnerType(TypeDescription.Generic.AnnotationReader annotationReader)
Creates a chained annotation reader for reading an owner type if it is accessible.
|
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, resolve
asList, ofComponentType, ofOuterClass, ofOwnerType, ofTypeArgument, ofTypeVariableBoundType, ofWildcardLowerBoundType, ofWildcardUpperBoundType
protected ForOwnerType(TypeDescription.Generic.AnnotationReader annotationReader)
annotationReader
- The annotation reader from which to delegate.protected AnnotatedElement resolve(AnnotatedElement annotatedElement)
TypeDescription.Generic.AnnotationReader.Delegator.Chained
resolve
in class TypeDescription.Generic.AnnotationReader.Delegator.Chained
annotatedElement
- The original annotated element.Copyright © 2014–2020. All rights reserved.