diff options
Diffstat (limited to 'test/transform/resource/after-delombok/WithOnRecordComponent.java')
-rw-r--r-- | test/transform/resource/after-delombok/WithOnRecordComponent.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/WithOnRecordComponent.java b/test/transform/resource/after-delombok/WithOnRecordComponent.java new file mode 100644 index 00000000..a5f4ec36 --- /dev/null +++ b/test/transform/resource/after-delombok/WithOnRecordComponent.java @@ -0,0 +1,6 @@ +record WithOnRecordComponent(String a, String b) { + @java.lang.SuppressWarnings("all") + public WithOnRecordComponent withA(final String a) { + return this.a == a ? this : new WithOnRecordComponent(a, this.b); + } +} |