https://github.com/evant/yesdata
Errorprone check to verify you have implemented data classes correctly.
https://github.com/evant/yesdata
Last synced: over 1 year ago
JSON representation
Errorprone check to verify you have implemented data classes correctly.
- Host: GitHub
- URL: https://github.com/evant/yesdata
- Owner: evant
- License: apache-2.0
- Created: 2019-03-07T18:00:12.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2020-06-14T22:53:41.000Z (about 6 years ago)
- Last Synced: 2025-01-05T09:44:04.228Z (over 1 year ago)
- Language: Java
- Size: 65.4 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# yesdata
Errorprone check to verify you have implemented data classes correctly.
## Usage
Annotate your data classes with `@Data`. The checker will
verify you implemented equals, hashCode, and toString. It will also check that you haven't forgotten
to use a field in those implementations.
## Download
Gradle, using [`net.ltgt.errorprone` plugin](https://github.com/tbroyer/gradle-errorprone-plugin):
```groovy
dependencies {
compileOnly 'com.willowtreeapps.yesdata:yesdata-annotations:1.0.0'
errorprone 'com.willowtreeapps.yesdata:yesdata-checker:1.0.0'
}
```
By default the check will operate everywhere that error-prone runs.