mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 04:16:19 +00:00
[With] renaming lombok.experimental.Wither to lombok.experimental.With
This commit is contained in:
88 files changed
+912
-807
No files matched your search
@@ -0,0 +1,16 @@
|
||||
import lombok.With;
|
||||
class WithPlain {
|
||||
@lombok.With int i;
|
||||
final @With int foo;
|
||||
WithPlain(int i, int foo) {
|
||||
super();
|
||||
this.i = i;
|
||||
this.foo = foo;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") WithPlain withI(final int i) {
|
||||
return ((this.i == i) ? this : new WithPlain(i, this.foo));
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") WithPlain withFoo(final int foo) {
|
||||
return ((this.foo == foo) ? this : new WithPlain(this.i, foo));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user