Annotation Type UseExtensionHandlerCustomizer


@Retention(RUNTIME) @Target(ANNOTATION_TYPE) @Alpha public @interface UseExtensionHandlerCustomizer
Meta-Annotation used to identify extension method decorating annotations. Use this to annotate an annotation.
Since:
3.38.0
  • Element Details

    • value

      ExtensionHandlerCustomizer class that decorates ExtensionHandler instances for methods annotated with the associated annotation.
      The extension customizer must have either a public no-arguments, a (Method method), or a (Class<?> extensionType, Method method) constructor. If the constructor takes one or more arguments, it will get the extension type and the invoked method passed in at construction time.
      Returns:
      the ExtensionHandlerCustomizer class