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