aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/WithOnRecord.java
blob: bfb123bce72fb2c35c3e3ddc98001a811d33783f (plain)
1
2
3
4
5
6
7
8
9
10
11
record WithOnRecord(String a, String b) {
	@java.lang.SuppressWarnings("all")
	public WithOnRecord withA(final String a) {
		return this.a == a ? this : new WithOnRecord(a, this.b);
	}

	@java.lang.SuppressWarnings("all")
	public WithOnRecord withB(final String b) {
		return this.b == b ? this : new WithOnRecord(this.a, b);
	}
}