Package eu.bandm.tools.annotations
Annotation Interface Opt
@Documented
@Retention(CLASS)
@Target({FIELD,METHOD,PARAMETER,LOCAL_VARIABLE,TYPE_USE,TYPE_PARAMETER})
public @interface Opt
Indicates that the value
null
may appear.
This is the opposite to the "NonNull" option, as proposed by oracle, but
strictness is the normal case in our way of coding.
It can be applied to the following places where types do occur:
class c { public static @Opt Integer i ; public @Opt String makeString (final String s; final @Opt String i) {..} }