diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2019-12-19 21:26:35 +0100 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-01-06 05:19:37 +0100 |
commit | 889c935ec9f0e45bba1e88b0f256e1f29a734f39 (patch) | |
tree | bfa24b57a405115a491ba8bedc758dc66017698d /test/transform/resource/after-ecj/BuilderWithExistingBuilderClassWithSetterPrefix.java | |
parent | 0bb56192304905e2ae5bcee8ba6d72add950d381 (diff) | |
download | lombok-889c935ec9f0e45bba1e88b0f256e1f29a734f39.tar.gz lombok-889c935ec9f0e45bba1e88b0f256e1f29a734f39.tar.bz2 lombok-889c935ec9f0e45bba1e88b0f256e1f29a734f39.zip |
[fixes #2268] make lombok generate qualified types in order to avoid name clashes.
Diffstat (limited to 'test/transform/resource/after-ecj/BuilderWithExistingBuilderClassWithSetterPrefix.java')
-rw-r--r-- | test/transform/resource/after-ecj/BuilderWithExistingBuilderClassWithSetterPrefix.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/transform/resource/after-ecj/BuilderWithExistingBuilderClassWithSetterPrefix.java b/test/transform/resource/after-ecj/BuilderWithExistingBuilderClassWithSetterPrefix.java index 8da2f012..a43841b8 100644 --- a/test/transform/resource/after-ecj/BuilderWithExistingBuilderClassWithSetterPrefix.java +++ b/test/transform/resource/after-ecj/BuilderWithExistingBuilderClassWithSetterPrefix.java @@ -9,11 +9,11 @@ class BuilderWithExistingBuilderClassWithSetterPrefix<T, K extends Number> { @java.lang.SuppressWarnings("all") BuilderWithExistingBuilderClassWithSetterPrefixBuilder() { super(); } - public @java.lang.SuppressWarnings("all") BuilderWithExistingBuilderClassWithSetterPrefixBuilder<Z> withArg1(final Z arg1) { + public @java.lang.SuppressWarnings("all") BuilderWithExistingBuilderClassWithSetterPrefix.BuilderWithExistingBuilderClassWithSetterPrefixBuilder<Z> withArg1(final Z arg1) { this.arg1 = arg1; return this; } - public @java.lang.SuppressWarnings("all") BuilderWithExistingBuilderClassWithSetterPrefixBuilder<Z> withArg3(final String arg3) { + public @java.lang.SuppressWarnings("all") BuilderWithExistingBuilderClassWithSetterPrefix.BuilderWithExistingBuilderClassWithSetterPrefixBuilder<Z> withArg3(final String arg3) { this.arg3 = arg3; return this; } @@ -30,7 +30,7 @@ class BuilderWithExistingBuilderClassWithSetterPrefix<T, K extends Number> { public static @Builder(setterPrefix = "with") <Z extends Number>BuilderWithExistingBuilderClassWithSetterPrefix<String, Z> staticMethod(Z arg1, boolean arg2, String arg3) { return null; } - public static @java.lang.SuppressWarnings("all") <Z extends Number>BuilderWithExistingBuilderClassWithSetterPrefixBuilder<Z> builder() { - return new BuilderWithExistingBuilderClassWithSetterPrefixBuilder<Z>(); + public static @java.lang.SuppressWarnings("all") <Z extends Number>BuilderWithExistingBuilderClassWithSetterPrefix.BuilderWithExistingBuilderClassWithSetterPrefixBuilder<Z> builder() { + return new BuilderWithExistingBuilderClassWithSetterPrefix.BuilderWithExistingBuilderClassWithSetterPrefixBuilder<Z>(); } } |