aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/WithByOnRecord.java
blob: d6a24a9a5514c9d87741cf58930eedcec4b2f89b (plain)
1
2
3
4
5
6
7
8
9
10
11
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));
	}
}