Annotation Type NonNullApi


  • @Target({TYPE,PACKAGE})
    @Nonnull
    @TypeQualifierDefault({METHOD,PARAMETER})
    @Documented
    @Retention(RUNTIME)
    public @interface NonNullApi
    Marks a type or a whole package as providing a non-null API by default. All parameter and return types are assumed to be Nonnull unless specifically marked as Nullable.
    Since:
    4.2