mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-28 08:21:35 +00:00
[i1996] add test for warnings on non-existing fields
This commit is contained in:
@@ -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