aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-delombok')
-rw-r--r--test/transform/resource/after-delombok/WitherLegacyStar.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/WitherLegacyStar.java b/test/transform/resource/after-delombok/WitherLegacyStar.java
new file mode 100644
index 00000000..69da9278
--- /dev/null
+++ b/test/transform/resource/after-delombok/WitherLegacyStar.java
@@ -0,0 +1,10 @@
+class WitherLegacyStar {
+ int i;
+ WitherLegacyStar(int i) {
+ this.i = i;
+ }
+ @java.lang.SuppressWarnings("all")
+ public WitherLegacyStar withI(final int i) {
+ return this.i == i ? this : new WitherLegacyStar(i);
+ }
+}