Annotation Type DisableValidation


  • @Documented
    @Retention(SOURCE)
    @Target({TYPE,PACKAGE,MODULE,ANNOTATION_TYPE})
    public @interface DisableValidation
    This annotation provides an opportunity to disable the generation of validators for the selected group of classes in the project.

    • If a model class is annotated by this annotation, then only for this model class the validator won’t be generated.
    • If this annotation annotates the package-info.java class, then for all classes from the specified package and all its subpackages no validators will be generated.
    • If this annotation annotates the module-info.java descriptor, then for all classes in the current module no validators will be generated. (This behavior is similar to the removal of the rxmicro.validation module from the module-info.java descriptor.)
    Since:
    0.1
    Author:
    nedis