mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 04:15:06 +00:00
8 lines
368 B
Java
8 lines
368 B
Java
// 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<? super String, ? extends String> transformer) {
|
|
return new WithByOnRecordComponent(transformer.apply(this.a), this.b);
|
|
}
|
|
}
|