注释类型 InjectSelf


  • @Target(PARAMETER)
    @Retention(SOURCE)
    public @interface InjectSelf
    Used in dynamic method property. Inject the 'this' object to the method parameter. The generated class may not exist yet, however, referencing it in the config class is legal. Although the compiler may complain. Ignored it and after compiled, all will be ok. Or compile first, after the class generated, the compiler will stop complain.
    另请参阅:
    Dynamic, NewViewProperty, OverrideViewProperty