Annotation Type Required


  • @Documented
    @Retention(RUNTIME)
    @Target(FIELD)
    @SubtypeOf(org.checkerframework.checker.nullness.qual.NonNull.class)
    public @interface Required
    Indicates that a field is required.

    Loading will fail if this field has a null value.

    Since:
    4.0.0