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/BuilderSingularMaps.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/BuilderSingularMaps.java')
-rw-r--r-- | test/transform/resource/after-delombok/BuilderSingularMaps.java | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/test/transform/resource/after-delombok/BuilderSingularMaps.java b/test/transform/resource/after-delombok/BuilderSingularMaps.java index 6520568b..240a6e3b 100644 --- a/test/transform/resource/after-delombok/BuilderSingularMaps.java +++ b/test/transform/resource/after-delombok/BuilderSingularMaps.java @@ -35,7 +35,7 @@ class BuilderSingularMaps<K, V> { BuilderSingularMapsBuilder() { } @SuppressWarnings("all") - public BuilderSingularMapsBuilder<K, V> woman(K womanKey, V womanValue) { + public BuilderSingularMaps.BuilderSingularMapsBuilder<K, V> woman(K womanKey, V womanValue) { if (this.women$key == null) { this.women$key = new java.util.ArrayList<K>(); this.women$value = new java.util.ArrayList<V>(); @@ -45,7 +45,7 @@ class BuilderSingularMaps<K, V> { return this; } @SuppressWarnings("all") - public BuilderSingularMapsBuilder<K, V> women(java.util.Map<? extends K, ? extends V> women) { + public BuilderSingularMaps.BuilderSingularMapsBuilder<K, V> women(java.util.Map<? extends K, ? extends V> women) { if (this.women$key == null) { this.women$key = new java.util.ArrayList<K>(); this.women$value = new java.util.ArrayList<V>(); @@ -57,7 +57,7 @@ class BuilderSingularMaps<K, V> { return this; } @SuppressWarnings("all") - public BuilderSingularMapsBuilder<K, V> clearWomen() { + public BuilderSingularMaps.BuilderSingularMapsBuilder<K, V> clearWomen() { if (this.women$key != null) { this.women$key.clear(); this.women$value.clear(); @@ -65,7 +65,7 @@ class BuilderSingularMaps<K, V> { return this; } @SuppressWarnings("all") - public BuilderSingularMapsBuilder<K, V> man(K manKey, Number manValue) { + public BuilderSingularMaps.BuilderSingularMapsBuilder<K, V> man(K manKey, Number manValue) { if (this.men$key == null) { this.men$key = new java.util.ArrayList<K>(); this.men$value = new java.util.ArrayList<Number>(); @@ -75,7 +75,7 @@ class BuilderSingularMaps<K, V> { return this; } @SuppressWarnings("all") - public BuilderSingularMapsBuilder<K, V> men(java.util.Map<? extends K, ? extends Number> men) { + public BuilderSingularMaps.BuilderSingularMapsBuilder<K, V> men(java.util.Map<? extends K, ? extends Number> men) { if (this.men$key == null) { this.men$key = new java.util.ArrayList<K>(); this.men$value = new java.util.ArrayList<Number>(); @@ -87,7 +87,7 @@ class BuilderSingularMaps<K, V> { return this; } @SuppressWarnings("all") - public BuilderSingularMapsBuilder<K, V> clearMen() { + public BuilderSingularMaps.BuilderSingularMapsBuilder<K, V> clearMen() { if (this.men$key != null) { this.men$key.clear(); this.men$value.clear(); @@ -95,7 +95,7 @@ class BuilderSingularMaps<K, V> { return this; } @SuppressWarnings("all") - public BuilderSingularMapsBuilder<K, V> rawMap(Object rawMapKey, Object rawMapValue) { + public BuilderSingularMaps.BuilderSingularMapsBuilder<K, V> rawMap(Object rawMapKey, Object rawMapValue) { if (this.rawMap$key == null) { this.rawMap$key = new java.util.ArrayList<Object>(); this.rawMap$value = new java.util.ArrayList<Object>(); @@ -105,7 +105,7 @@ class BuilderSingularMaps<K, V> { return this; } @SuppressWarnings("all") - public BuilderSingularMapsBuilder<K, V> rawMap(java.util.Map<?, ?> rawMap) { + public BuilderSingularMaps.BuilderSingularMapsBuilder<K, V> rawMap(java.util.Map<?, ?> rawMap) { if (this.rawMap$key == null) { this.rawMap$key = new java.util.ArrayList<Object>(); this.rawMap$value = new java.util.ArrayList<Object>(); @@ -117,7 +117,7 @@ class BuilderSingularMaps<K, V> { return this; } @SuppressWarnings("all") - public BuilderSingularMapsBuilder<K, V> clearRawMap() { + public BuilderSingularMaps.BuilderSingularMapsBuilder<K, V> clearRawMap() { if (this.rawMap$key != null) { this.rawMap$key.clear(); this.rawMap$value.clear(); @@ -125,7 +125,7 @@ class BuilderSingularMaps<K, V> { return this; } @SuppressWarnings("all") - public BuilderSingularMapsBuilder<K, V> stringMap(String stringMapKey, V stringMapValue) { + public BuilderSingularMaps.BuilderSingularMapsBuilder<K, V> stringMap(String stringMapKey, V stringMapValue) { if (this.stringMap$key == null) { this.stringMap$key = new java.util.ArrayList<String>(); this.stringMap$value = new java.util.ArrayList<V>(); @@ -135,7 +135,7 @@ class BuilderSingularMaps<K, V> { return this; } @SuppressWarnings("all") - public BuilderSingularMapsBuilder<K, V> stringMap(java.util.Map<? extends String, ? extends V> stringMap) { + public BuilderSingularMaps.BuilderSingularMapsBuilder<K, V> stringMap(java.util.Map<? extends String, ? extends V> stringMap) { if (this.stringMap$key == null) { this.stringMap$key = new java.util.ArrayList<String>(); this.stringMap$value = new java.util.ArrayList<V>(); @@ -147,7 +147,7 @@ class BuilderSingularMaps<K, V> { return this; } @SuppressWarnings("all") - public BuilderSingularMapsBuilder<K, V> clearStringMap() { + public BuilderSingularMaps.BuilderSingularMapsBuilder<K, V> clearStringMap() { if (this.stringMap$key != null) { this.stringMap$key.clear(); this.stringMap$value.clear(); @@ -207,7 +207,7 @@ class BuilderSingularMaps<K, V> { } } @SuppressWarnings("all") - public static <K, V> BuilderSingularMapsBuilder<K, V> builder() { - return new BuilderSingularMapsBuilder<K, V>(); + public static <K, V> BuilderSingularMaps.BuilderSingularMapsBuilder<K, V> builder() { + return new BuilderSingularMaps.BuilderSingularMapsBuilder<K, V>(); } } |