From 4a34ed75b49f259823739df5691f1d81f37c12ca Mon Sep 17 00:00:00 2001 From: Jan Rieke Date: Fri, 13 Dec 2019 23:32:16 +0100 Subject: avoid more name clashes for builder type param; fixes #2297 --- .../resource/before/SuperBuilderNameClashes.java | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 test/transform/resource/before/SuperBuilderNameClashes.java (limited to 'test/transform/resource/before') diff --git a/test/transform/resource/before/SuperBuilderNameClashes.java b/test/transform/resource/before/SuperBuilderNameClashes.java new file mode 100644 index 00000000..a0b58452 --- /dev/null +++ b/test/transform/resource/before/SuperBuilderNameClashes.java @@ -0,0 +1,17 @@ +public class SuperBuilderNameClashes { + @lombok.experimental.SuperBuilder + public static class GenericsClash { + } + + @lombok.experimental.SuperBuilder + public static class B { + } + + public static class C2 { + } + + @lombok.experimental.SuperBuilder + public static class C { + C2 c2; + } +} -- cgit