Annotation Type ApiDelegate


  • @Documented
    @Retention(SOURCE)
    @Target(FIELD)
    public @interface ApiDelegate
    Similar to Groovy's @Delegate AST transform but instead assumes the first argument to every method is 'this'.
    Since:
    2.0
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class<?> value  
    • Element Detail

      • value

        java.lang.Class<?> value
        Returns:
        The super class to check for in the first argument of api methods