groovy-params-checker
1.0.28
GroovyParamsChecker · Automatic Groovy parameter checker. How to use: 1. Annotate your Groovy classes with @ParamsNotNullNotEmpty; 2. At compile time, code will be added into each of your methods to check each parameter to make sure it is not null and in the case of Collections, Maps and Strings, it is not empty; 3. At run time, if a parameter is null or empty, it will throw an IllegalArgumentException with details about the null or empty parameter. To disable the annotation at compile time, set the ParamsNotNullNotEmpty.NoOpMode flag to true.