Annotation Type 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
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class<?> extensionAPI  
      java.lang.Class<? extends Trait> traitAPI  
    • Element Detail

      • extensionAPI

        java.lang.Class<?> extensionAPI
      • traitAPI

        java.lang.Class<? extends Trait> traitAPI