public static class TypeDescription.Generic.AnnotationReader.ForOwnerType extends TypeDescription.Generic.AnnotationReader.Delegator.Chained
TypeDescription.Generic.AnnotationReader.Delegator.Chained
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
Modifier and Type | Field and Description |
---|---|
private static java.lang.reflect.Method |
GET_ANNOTATED_OWNER_TYPE
The
java.lang.reflect.AnnotatedType#getAnnotatedOwnerType method. |
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 |
---|---|
private static TypeDescription.Generic.AnnotationReader |
of(TypeDescription.Generic.AnnotationReader annotationReader)
Creates a chained annotation reader for reading an owner type if it is accessible.
|
protected java.lang.reflect.AnnotatedElement |
resolve(java.lang.reflect.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
private static final java.lang.reflect.Method GET_ANNOTATED_OWNER_TYPE
java.lang.reflect.AnnotatedType#getAnnotatedOwnerType
method.protected ForOwnerType(TypeDescription.Generic.AnnotationReader annotationReader)
annotationReader
- The annotation reader from which to delegate.private static TypeDescription.Generic.AnnotationReader of(TypeDescription.Generic.AnnotationReader annotationReader)
annotationReader
- The annotation reader from which to delegate.protected java.lang.reflect.AnnotatedElement resolve(java.lang.reflect.AnnotatedElement annotatedElement)
TypeDescription.Generic.AnnotationReader.Delegator.Chained
resolve
in class TypeDescription.Generic.AnnotationReader.Delegator.Chained
annotatedElement
- The original annotated element.