demo project https://github.com/shootercheng/param-validator-demo
<dependency>
<groupId>com.github.catdou</groupId>
<artifactId>param-validator</artifactId>
<version>1.0</version>
</dependency>
implementation 'com.github.catdou:param-validator:1.0'