mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 06:16:14 +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,46 @@
|
||||
class SetterAndWithMethodJavadoc {
|
||||
/**
|
||||
* Some value.
|
||||
*/
|
||||
int i;
|
||||
/**
|
||||
* Some other value.
|
||||
*/
|
||||
int j;
|
||||
SetterAndWithMethodJavadoc(int i, int j) {
|
||||
this.i = i;
|
||||
this.j = j;
|
||||
}
|
||||
/**
|
||||
* Some value.
|
||||
* @param the new value
|
||||
*/
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public void setI(final int i) {
|
||||
this.i = i;
|
||||
}
|
||||
/**
|
||||
* Some value.
|
||||
* @param the new value
|
||||
*/
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public SetterAndWithMethodJavadoc withI(final int i) {
|
||||
return this.i == i ? this : new SetterAndWithMethodJavadoc(i, this.j);
|
||||
}
|
||||
/**
|
||||
* Set some other value.
|
||||
* @param the new other value
|
||||
*/
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public void setJ(final int j) {
|
||||
this.j = j;
|
||||
}
|
||||
/**
|
||||
* Reinstantiate with some other value.
|
||||
* @param the other new other value
|
||||
*/
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public SetterAndWithMethodJavadoc withJ(final int j) {
|
||||
return this.j == j ? this : new SetterAndWithMethodJavadoc(this.i, j);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user