mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 02:14:44 +00:00
41 lines
1.3 KiB
Java
41 lines
1.3 KiB
Java
import lombok.With;
|
|
class SetterAndWithMethodJavadoc {
|
|
@lombok.Setter @lombok.With int i;
|
|
@lombok.Setter @lombok.With int j;
|
|
SetterAndWithMethodJavadoc(int i, int j) {
|
|
super();
|
|
this.i = i;
|
|
this.j = j;
|
|
}
|
|
/**
|
|
* Some value.
|
|
* @param the new value
|
|
*/
|
|
public @java.lang.SuppressWarnings("all") @lombok.Generated void setI(final int i) {
|
|
this.i = i;
|
|
}
|
|
/**
|
|
* Some value.
|
|
* @param the new value
|
|
* @return a clone of this object, except with this updated property (returns {@code this} if an identical value is passed).
|
|
*/
|
|
public @java.lang.SuppressWarnings("all") @lombok.Generated SetterAndWithMethodJavadoc withI(final int i) {
|
|
return ((this.i == i) ? this : new SetterAndWithMethodJavadoc(i, this.j));
|
|
}
|
|
/**
|
|
* Set some other value.
|
|
* @param the new other value
|
|
*/
|
|
public @java.lang.SuppressWarnings("all") @lombok.Generated void setJ(final int j) {
|
|
this.j = j;
|
|
}
|
|
/**
|
|
* Reinstantiate with some other value.
|
|
* @param the other new other value
|
|
* @return a clone of this object, except with this updated property (returns {@code this} if an identical value is passed).
|
|
*/
|
|
public @java.lang.SuppressWarnings("all") @lombok.Generated SetterAndWithMethodJavadoc withJ(final int j) {
|
|
return ((this.j == j) ? this : new SetterAndWithMethodJavadoc(this.i, j));
|
|
}
|
|
}
|