[With] renaming lombok.experimental.Wither to lombok.experimental.With

This commit is contained in:
Reinier Zwitserloot committed 2019-08-27 00:15:47 +02:00
1 parent 7bf70ed638
commit c11edbf032
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);
}
}