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