mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-06 10:15:34 +00:00
[i1996] add test for warnings on non-existing fields
This commit is contained in:
1 parent
f3ead31326
commit
720b7cbc92
3 files changed
+14
No files matched your search
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user