Annotation Type Inject


  • @Documented
    @Retention(SOURCE)
    @Target({FIELD,PARAMETER})
    public @interface Inject
    Makes an element eligible for injection into the annotated type's object. The injection is setter based so a corresponding setter in the type is mandatory.

    Injected values would from BotCommand parameter map using the name provided in Idx.