// version 14: import lombok.experimental.WithBy; public record WithByOnRecordComponent(String a, String b) { public @java.lang.SuppressWarnings("all") @lombok.Generated WithByOnRecordComponent withABy(final java.util.function.Function transformer) { return new WithByOnRecordComponent(transformer.apply(this.a), this.b); } }