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