mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 04:16:19 +00:00
add test for #2230
This commit is contained in:
1 parent
693af13472
commit
80c1b2d2e7
3 files changed
+29
No files matched your search
@@ -0,0 +1,10 @@
|
||||
class WitherLegacyStar {
|
||||
int i;
|
||||
WitherLegacyStar(int i) {
|
||||
this.i = i;
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public WitherLegacyStar withI(final int i) {
|
||||
return this.i == i ? this : new WitherLegacyStar(i);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
import lombok.experimental.*;
|
||||
class WitherLegacyStar {
|
||||
@Wither int i;
|
||||
WitherLegacyStar(int i) {
|
||||
super();
|
||||
this.i = i;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") WitherLegacyStar withI(final int i) {
|
||||
return ((this.i == i) ? this : new WitherLegacyStar(i));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
import lombok.experimental.*;
|
||||
class WitherLegacyStar {
|
||||
@Wither int i;
|
||||
|
||||
WitherLegacyStar(int i) {
|
||||
this.i = i;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user