From ac319cca87020b779722351f37cc0a9c40b12872 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Mon, 23 Nov 2015 03:53:12 +0100 Subject: [Fixes #945] wither methods for abstract classes now slightly less useless. --- test/transform/resource/after-delombok/WitherWithAbstract.java | 6 ++++++ test/transform/resource/after-ecj/WitherWithAbstract.java | 7 +++++++ test/transform/resource/before/WitherWithAbstract.java | 3 +++ 3 files changed, 16 insertions(+) create mode 100644 test/transform/resource/after-delombok/WitherWithAbstract.java create mode 100644 test/transform/resource/after-ecj/WitherWithAbstract.java create mode 100644 test/transform/resource/before/WitherWithAbstract.java (limited to 'test/transform') 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 -- cgit