Annotation Type Opt


  • @Documented
    @Retention(RUNTIME)
    @Target({METHOD,FIELD,PARAMETER})
    public @interface Opt
    When used in combination with the Inject annotation indicates that the field or method is optional and can be left null if no injection candidate is available.