Interface TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedMethodReturnType.Dispatcher

Enclosing class:
TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedMethodReturnType

@Proxied("java.lang.reflect.Method") protected static interface TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedMethodReturnType.Dispatcher
A dispatcher for interacting with Method.
  • Method Details

    • getAnnotatedReturnType

      @MaybeNull @Defaults AnnotatedElement getAnnotatedReturnType(Method method)
      Resolves the supplied method's annotated return type.
      Parameters:
      method - The executable for which to resolve the annotated return type.
      Returns:
      The return type annotations or null if this feature is not supported.