mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 06:15:41 +00:00
11 lines
587 B
Java
11 lines
587 B
Java
// version 14:
|
|
import lombok.experimental.WithBy;
|
|
public @WithBy record WithByOnRecord(String a, String b) {
|
|
public @java.lang.SuppressWarnings("all") @lombok.Generated WithByOnRecord withABy(final java.util.function.Function<? super String, ? extends String> transformer) {
|
|
return new WithByOnRecord(transformer.apply(this.a), this.b);
|
|
}
|
|
public @java.lang.SuppressWarnings("all") @lombok.Generated WithByOnRecord withBBy(final java.util.function.Function<? super String, ? extends String> transformer) {
|
|
return new WithByOnRecord(this.a, transformer.apply(this.b));
|
|
}
|
|
}
|