diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2015-11-23 03:53:12 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2015-11-23 03:53:12 +0100 |
commit | ac319cca87020b779722351f37cc0a9c40b12872 (patch) | |
tree | 2e8cb98b2745ea97b311f6689280f3d014513ce1 /test | |
parent | 5029fd041ddf0e3654c7f3d5106cf8cbb90b5243 (diff) | |
download | lombok-ac319cca87020b779722351f37cc0a9c40b12872.tar.gz lombok-ac319cca87020b779722351f37cc0a9c40b12872.tar.bz2 lombok-ac319cca87020b779722351f37cc0a9c40b12872.zip |
[Fixes #945] wither methods for abstract classes now slightly less useless.
Diffstat (limited to 'test')
3 files changed, 16 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/WitherWithAbstract.java b/test/transform/resource/after-delombok/WitherWithAbstract.java new file mode 100644 index 00000000..d5bfeef8 --- /dev/null +++ b/test/transform/resource/after-delombok/WitherWithAbstract.java @@ -0,0 +1,6 @@ +abstract class WitherWithAbstract { + String foo; + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") + public abstract WitherWithAbstract withFoo(final String foo); +}
\ No newline at end of file diff --git a/test/transform/resource/after-ecj/WitherWithAbstract.java b/test/transform/resource/after-ecj/WitherWithAbstract.java new file mode 100644 index 00000000..90fd6448 --- /dev/null +++ b/test/transform/resource/after-ecj/WitherWithAbstract.java @@ -0,0 +1,7 @@ +abstract class WitherWithAbstract { + @lombok.experimental.Wither String foo; + WitherWithAbstract() { + super(); + } + public abstract @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") WitherWithAbstract withFoo(final String foo); +} diff --git a/test/transform/resource/before/WitherWithAbstract.java b/test/transform/resource/before/WitherWithAbstract.java new file mode 100644 index 00000000..acc9094b --- /dev/null +++ b/test/transform/resource/before/WitherWithAbstract.java @@ -0,0 +1,3 @@ +abstract class WitherWithAbstract { + @lombok.experimental.Wither String foo; +}
\ No newline at end of file |