mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 12:15:00 +00:00
13 lines
509 B
Java
13 lines
509 B
Java
@lombok.With class WithWithJavaBeansSpecCapitalization {
|
|
int aField;
|
|
WithWithJavaBeansSpecCapitalization(int aField) {
|
|
super();
|
|
}
|
|
/**
|
|
* @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 WithWithJavaBeansSpecCapitalization withaField(final int aField) {
|
|
return ((this.aField == aField) ? this : new WithWithJavaBeansSpecCapitalization(aField));
|
|
}
|
|
}
|