diff options
author | Roel Spilker <r.spilker@gmail.com> | 2019-09-12 21:55:40 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2019-09-12 21:56:21 +0200 |
commit | 80c1b2d2e767f92743b965e3735472e8420848bf (patch) | |
tree | 8603e04c782658dec33b2e3dbeeee759a001c5a0 /test/transform/resource/after-delombok | |
parent | 693af13472fc4c474edcb163e09cfe87b4c71f3e (diff) | |
download | lombok-80c1b2d2e767f92743b965e3735472e8420848bf.tar.gz lombok-80c1b2d2e767f92743b965e3735472e8420848bf.tar.bz2 lombok-80c1b2d2e767f92743b965e3735472e8420848bf.zip |
add test for #2230
Diffstat (limited to 'test/transform/resource/after-delombok')
-rw-r--r-- | test/transform/resource/after-delombok/WitherLegacyStar.java | 10 |
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); + } +} |