blob: 91dd7b385a0874ee9dcb8cdc632f91924d944f0c (
plain)
1
2
3
4
5
6
7
|
// version 14:
record WithByOnRecordComponent(String a, String b) {
@java.lang.SuppressWarnings("all")
public WithByOnRecordComponent withABy(final java.util.function.Function<? super String, ? extends String> transformer) {
return new WithByOnRecordComponent(transformer.apply(this.a), this.b);
}
}
|