diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2017-02-16 22:02:32 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2017-02-16 22:04:08 +0100 |
commit | a38b41f100ac759eadb05433341cf062e7094f4c (patch) | |
tree | 90eb5669e5f87c57a4ee21715e0a0b30f610fb1e /test/transform/knownBroken | |
parent | 40c40c6b944011cd2c29bc7f6de3a60a67823135 (diff) | |
download | lombok-a38b41f100ac759eadb05433341cf062e7094f4c.tar.gz lombok-a38b41f100ac759eadb05433341cf062e7094f4c.tar.bz2 lombok-a38b41f100ac759eadb05433341cf062e7094f4c.zip |
Added a test case to highlight issue #1302: `@Builder` on non-static inner classes (or constructors of non-static inner classes) doesn't work.
Diffstat (limited to 'test/transform/knownBroken')
-rw-r--r-- | test/transform/knownBroken/before/I1302BuilderInInstanceInnerClass.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/transform/knownBroken/before/I1302BuilderInInstanceInnerClass.java b/test/transform/knownBroken/before/I1302BuilderInInstanceInnerClass.java new file mode 100644 index 00000000..cf37abc4 --- /dev/null +++ b/test/transform/knownBroken/before/I1302BuilderInInstanceInnerClass.java @@ -0,0 +1,5 @@ +public class I1302BuilderInInstanceInnerClass { + @lombok.Builder public class NonStaticInner { + private int test; + } +} |