aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before
diff options
context:
space:
mode:
authorJan Rieke <it@janrieke.de>2019-12-13 23:32:16 +0100
committerJan <it@janrieke.de>2020-02-06 16:05:56 +0100
commit4a34ed75b49f259823739df5691f1d81f37c12ca (patch)
tree42cd0fbab82872f3ba8379253908bf181636a782 /test/transform/resource/before
parenta678e7effbe4f98e8cecc523e060951d443c0ab4 (diff)
downloadlombok-4a34ed75b49f259823739df5691f1d81f37c12ca.tar.gz
lombok-4a34ed75b49f259823739df5691f1d81f37c12ca.tar.bz2
lombok-4a34ed75b49f259823739df5691f1d81f37c12ca.zip
avoid more name clashes for builder type param; fixes #2297
Diffstat (limited to 'test/transform/resource/before')
-rw-r--r--test/transform/resource/before/SuperBuilderNameClashes.java17
1 files changed, 17 insertions, 0 deletions
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<B, C, C2> {
+ }
+
+ @lombok.experimental.SuperBuilder
+ public static class B {
+ }
+
+ public static class C2 {
+ }
+
+ @lombok.experimental.SuperBuilder
+ public static class C {
+ C2 c2;
+ }
+}