Class TypeDescription.Generic.AnnotationReader.Delegator.Chained

java.lang.Object
net.bytebuddy.description.type.TypeDescription.Generic.AnnotationReader.Delegator
net.bytebuddy.description.type.TypeDescription.Generic.AnnotationReader.Delegator.Chained
All Implemented Interfaces:
TypeDescription.Generic.AnnotationReader
Direct Known Subclasses:
TypeDescription.Generic.AnnotationReader.ForComponentType, TypeDescription.Generic.AnnotationReader.ForOwnerType, TypeDescription.Generic.AnnotationReader.ForTypeArgument, TypeDescription.Generic.AnnotationReader.ForTypeVariableBoundType, TypeDescription.Generic.AnnotationReader.ForWildcardLowerBoundType, TypeDescription.Generic.AnnotationReader.ForWildcardUpperBoundType
Enclosing class:
TypeDescription.Generic.AnnotationReader.Delegator

@Enhance protected abstract static class TypeDescription.Generic.AnnotationReader.Delegator.Chained extends TypeDescription.Generic.AnnotationReader.Delegator
A chained delegator that bases its result on an underlying annotation reader.
  • Field Details

  • Constructor Details

  • Method Details

    • resolve

      public AnnotatedElement resolve()
      Resolves the underlying AnnotatedElement.
      Returns:
      The underlying annotated element.
    • resolve

      protected abstract AnnotatedElement resolve(AnnotatedElement annotatedElement)
      Resolves the type annotations from a given annotated element into the annotated element that this instance represents.
      Parameters:
      annotatedElement - The original annotated element.
      Returns:
      The resolved annotated element.