mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 06:16:14 +00:00
Added more tests, one of which tests usage of .getX() in toString, equals, and hashCode, which isn't fully working yet, so this test still fails.
This commit is contained in:
1 parent
483e23d385
commit
7c47aa1125
9 files changed
+268
No files matched your search
@@ -0,0 +1,24 @@
|
||||
class MultiFieldGetter {
|
||||
int x;
|
||||
int y;
|
||||
@java.lang.SuppressWarnings("all")
|
||||
protected int getX() {
|
||||
return this.x;
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
protected int getY() {
|
||||
return this.y;
|
||||
}
|
||||
}
|
||||
class MultiFieldGetter2 {
|
||||
int x;
|
||||
int y;
|
||||
@java.lang.SuppressWarnings("all")
|
||||
int getX() {
|
||||
return this.x;
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
int getY() {
|
||||
return this.y;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user