Annotation Type NonnullByDefault


  • @Nonnull
    @Documented
    @Target(PACKAGE)
    @Retention(RUNTIME)
    @TypeQualifierDefault({PACKAGE,FIELD,LOCAL_VARIABLE,METHOD,PARAMETER,TYPE_USE})
    public @interface NonnullByDefault
    An annotation indicating that all elements in the current scope of the annotation are non-null by default. Any element that can be null should be annotated with Nullable or CheckForNull.