mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-19 06:15:19 +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
@@ -35,53 +35,53 @@ public class BuilderWithDeprecated {
|
||||
*/
|
||||
@java.lang.Deprecated
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public BuilderWithDeprecatedBuilder dep1(final String dep1) {
|
||||
public BuilderWithDeprecated.BuilderWithDeprecatedBuilder dep1(final String dep1) {
|
||||
this.dep1 = dep1;
|
||||
return this;
|
||||
}
|
||||
@java.lang.Deprecated
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public BuilderWithDeprecatedBuilder dep2(final int dep2) {
|
||||
public BuilderWithDeprecated.BuilderWithDeprecatedBuilder dep2(final int dep2) {
|
||||
this.dep2 = dep2;
|
||||
return this;
|
||||
}
|
||||
@java.lang.Deprecated
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public BuilderWithDeprecatedBuilder string(final String string) {
|
||||
public BuilderWithDeprecated.BuilderWithDeprecatedBuilder string(final String string) {
|
||||
if (this.strings == null) this.strings = new java.util.ArrayList<String>();
|
||||
this.strings.add(string);
|
||||
return this;
|
||||
}
|
||||
@java.lang.Deprecated
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public BuilderWithDeprecatedBuilder strings(final java.util.Collection<? extends String> strings) {
|
||||
public BuilderWithDeprecated.BuilderWithDeprecatedBuilder strings(final java.util.Collection<? extends String> strings) {
|
||||
if (this.strings == null) this.strings = new java.util.ArrayList<String>();
|
||||
this.strings.addAll(strings);
|
||||
return this;
|
||||
}
|
||||
@java.lang.Deprecated
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public BuilderWithDeprecatedBuilder clearStrings() {
|
||||
public BuilderWithDeprecated.BuilderWithDeprecatedBuilder clearStrings() {
|
||||
if (this.strings != null) this.strings.clear();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Deprecated
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public BuilderWithDeprecatedBuilder number(final Integer number) {
|
||||
public BuilderWithDeprecated.BuilderWithDeprecatedBuilder number(final Integer number) {
|
||||
if (this.numbers == null) this.numbers = com.google.common.collect.ImmutableList.builder();
|
||||
this.numbers.add(number);
|
||||
return this;
|
||||
}
|
||||
@java.lang.Deprecated
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public BuilderWithDeprecatedBuilder numbers(final java.lang.Iterable<? extends Integer> numbers) {
|
||||
public BuilderWithDeprecated.BuilderWithDeprecatedBuilder numbers(final java.lang.Iterable<? extends Integer> numbers) {
|
||||
if (this.numbers == null) this.numbers = com.google.common.collect.ImmutableList.builder();
|
||||
this.numbers.addAll(numbers);
|
||||
return this;
|
||||
}
|
||||
@java.lang.Deprecated
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public BuilderWithDeprecatedBuilder clearNumbers() {
|
||||
public BuilderWithDeprecated.BuilderWithDeprecatedBuilder clearNumbers() {
|
||||
this.numbers = null;
|
||||
return this;
|
||||
}
|
||||
@@ -108,7 +108,7 @@ public class BuilderWithDeprecated {
|
||||
}
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public static BuilderWithDeprecatedBuilder builder() {
|
||||
return new BuilderWithDeprecatedBuilder();
|
||||
public static BuilderWithDeprecated.BuilderWithDeprecatedBuilder builder() {
|
||||
return new BuilderWithDeprecated.BuilderWithDeprecatedBuilder();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user