Annotation Interface Extend


@Retention(RUNTIME) public @interface Extend
A runtime retained annotation that marks AJ-trait-extended methods of Extensible objects.
It defines the actual circumstances in which the ExtensionPoint defined using extensionAPI() and traitAPI() has its extension invoked.
Methods marked by this aspect are advised by an extension-routing around advice in RouteExtensions. Consequently the call will be routed to a method of an extension object having the same signature as the marked method.
Author:
Bogdan Horje
  • Element Details

    • extensionAPI

      Class<?> extensionAPI
    • traitAPI

      Class<? extends Trait> traitAPI