diff options
author | Roel Spilker <r.spilker@gmail.com> | 2019-01-14 23:41:40 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2019-01-14 23:41:58 +0100 |
commit | 720b7cbc920940ec41fe96d7f91a80109bdf7ea8 (patch) | |
tree | aa2127aa94a2d7db47a845df9f7858b57fddecc9 /test/transform/resource/before | |
parent | f3ead31326d0a6dc333c7d24f825f0f8441ebe30 (diff) | |
download | lombok-720b7cbc920940ec41fe96d7f91a80109bdf7ea8.tar.gz lombok-720b7cbc920940ec41fe96d7f91a80109bdf7ea8.tar.bz2 lombok-720b7cbc920940ec41fe96d7f91a80109bdf7ea8.zip |
[i1996] add test for warnings on non-existing fields
Diffstat (limited to 'test/transform/resource/before')
-rw-r--r-- | test/transform/resource/before/EqualsAndHashCodeOfAndExcludeWarn.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/transform/resource/before/EqualsAndHashCodeOfAndExcludeWarn.java b/test/transform/resource/before/EqualsAndHashCodeOfAndExcludeWarn.java new file mode 100644 index 00000000..9babf443 --- /dev/null +++ b/test/transform/resource/before/EqualsAndHashCodeOfAndExcludeWarn.java @@ -0,0 +1,10 @@ +// skip-compare-contents +@lombok.EqualsAndHashCode(of={"y"}) +final class EqualsAndHashCodeWarnOf { + int x; +} + +@lombok.EqualsAndHashCode(exclude={"y"}) +final class EqualsAndHashCodeWarnExclude { + int x; +} |