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.

Лицензия

Лицензия

Категории

Категории

Groovy Языки программирования
Группа

Группа

com.faceture
Идентификатор

Идентификатор

groovy-params-checker
Последняя версия

Последняя версия

1.0.28
Дата

Дата

Тип

Тип

jar
Описание

Описание

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.
Ссылка на сайт

Ссылка на сайт

https://github.com/xnickmx/params-checker

Скачать groovy-params-checker

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.faceture/groovy-params-checker/ -->
<dependency>
    <groupId>com.faceture</groupId>
    <artifactId>groovy-params-checker</artifactId>
    <version>1.0.28</version>
</dependency>
// https://jarcasting.com/artifacts/com.faceture/groovy-params-checker/
implementation 'com.faceture:groovy-params-checker:1.0.28'
// https://jarcasting.com/artifacts/com.faceture/groovy-params-checker/
implementation ("com.faceture:groovy-params-checker:1.0.28")
'com.faceture:groovy-params-checker:jar:1.0.28'
<dependency org="com.faceture" name="groovy-params-checker" rev="1.0.28">
  <artifact name="groovy-params-checker" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.faceture', module='groovy-params-checker', version='1.0.28')
)
libraryDependencies += "com.faceture" % "groovy-params-checker" % "1.0.28"
[com.faceture/groovy-params-checker "1.0.28"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.codehaus.groovy : groovy-all jar 2.0.8

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.8.2

Модули Проекта

Данный проект не имеет модулей.

Версии библиотеки

Версия
1.0.28
1.0.27