aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/WithByOnRecord.java
blob: 4d1ccd0132df39f008d2449d5b681495f2545dff (plain)
1
2
3
4
5
6
7
8
9
10
11
// version 14:
public record WithByOnRecord(String a, String b) {
	@java.lang.SuppressWarnings("all")
	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")
	public WithByOnRecord withBBy(final java.util.function.Function<? super String, ? extends String> transformer) {
		return new WithByOnRecord(this.a, transformer.apply(this.b));
	}
}