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-delombok/BuilderDefaultsGenerics.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-delombok/BuilderDefaultsGenerics.java')
-rw-r--r-- | test/transform/resource/after-delombok/BuilderDefaultsGenerics.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/transform/resource/after-delombok/BuilderDefaultsGenerics.java b/test/transform/resource/after-delombok/BuilderDefaultsGenerics.java index 46fcd6b4..fb187e27 100644 --- a/test/transform/resource/after-delombok/BuilderDefaultsGenerics.java +++ b/test/transform/resource/after-delombok/BuilderDefaultsGenerics.java @@ -39,19 +39,19 @@ public class BuilderDefaultsGenerics<N extends Number, T, R extends List<T>> { BuilderDefaultsGenericsBuilder() { } @java.lang.SuppressWarnings("all") - public BuilderDefaultsGenericsBuilder<N, T, R> callable(final java.util.concurrent.Callable<N> callable) { + public BuilderDefaultsGenerics.BuilderDefaultsGenericsBuilder<N, T, R> callable(final java.util.concurrent.Callable<N> callable) { this.callable$value = callable; callable$set = true; return this; } @java.lang.SuppressWarnings("all") - public BuilderDefaultsGenericsBuilder<N, T, R> tee(final T tee) { + public BuilderDefaultsGenerics.BuilderDefaultsGenericsBuilder<N, T, R> tee(final T tee) { this.tee$value = tee; tee$set = true; return this; } @java.lang.SuppressWarnings("all") - public BuilderDefaultsGenericsBuilder<N, T, R> arrr(final R arrr) { + public BuilderDefaultsGenerics.BuilderDefaultsGenericsBuilder<N, T, R> arrr(final R arrr) { this.arrr$value = arrr; arrr$set = true; return this; @@ -73,7 +73,7 @@ public class BuilderDefaultsGenerics<N extends Number, T, R extends List<T>> { } } @java.lang.SuppressWarnings("all") - public static <N extends Number, T, R extends List<T>> BuilderDefaultsGenericsBuilder<N, T, R> builder() { - return new BuilderDefaultsGenericsBuilder<N, T, R>(); + public static <N extends Number, T, R extends List<T>> BuilderDefaultsGenerics.BuilderDefaultsGenericsBuilder<N, T, R> builder() { + return new BuilderDefaultsGenerics.BuilderDefaultsGenericsBuilder<N, T, R>(); } } |