mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 14:16:39 +00:00
[fixes #2268] make lombok generate qualified types in order to avoid name clashes.
This commit is contained in:
166 files changed
+1451
-3425
No files matched your search
@@ -14,12 +14,12 @@ class BuilderGenericMethod<T> {
|
||||
MapBuilder() {
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public MapBuilder<N> a(final int a) {
|
||||
public BuilderGenericMethod<T>.MapBuilder<N> a(final int a) {
|
||||
this.a = a;
|
||||
return this;
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public MapBuilder<N> b(final long b) {
|
||||
public BuilderGenericMethod<T>.MapBuilder<N> b(final long b) {
|
||||
this.b = b;
|
||||
return this;
|
||||
}
|
||||
@@ -34,7 +34,7 @@ class BuilderGenericMethod<T> {
|
||||
}
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public <N extends Number> MapBuilder<N> builder() {
|
||||
return new MapBuilder<N>();
|
||||
public <N extends Number> BuilderGenericMethod<T>.MapBuilder<N> builder() {
|
||||
return this.new MapBuilder<N>();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user