aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/BuilderWithDeprecatedWithSetterPrefix.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-delombok/BuilderWithDeprecatedWithSetterPrefix.java')
-rw-r--r--test/transform/resource/after-delombok/BuilderWithDeprecatedWithSetterPrefix.java34
1 files changed, 17 insertions, 17 deletions
diff --git a/test/transform/resource/after-delombok/BuilderWithDeprecatedWithSetterPrefix.java b/test/transform/resource/after-delombok/BuilderWithDeprecatedWithSetterPrefix.java
index 2045c1a5..5f6f2c32 100644
--- a/test/transform/resource/after-delombok/BuilderWithDeprecatedWithSetterPrefix.java
+++ b/test/transform/resource/after-delombok/BuilderWithDeprecatedWithSetterPrefix.java
@@ -1,5 +1,5 @@
import com.google.common.collect.ImmutableList;
-public class BuilderWithDeprecated {
+public class BuilderWithDeprecatedWithSetterPrefix {
/**
* @deprecated since always
*/
@@ -11,14 +11,14 @@ public class BuilderWithDeprecated {
@Deprecated
ImmutableList<Integer> numbers;
@java.lang.SuppressWarnings("all")
- BuilderWithDeprecated(final String dep1, final int dep2, final java.util.List<String> strings, final ImmutableList<Integer> numbers) {
+ BuilderWithDeprecatedWithSetterPrefix(final String dep1, final int dep2, final java.util.List<String> strings, final ImmutableList<Integer> numbers) {
this.dep1 = dep1;
this.dep2 = dep2;
this.strings = strings;
this.numbers = numbers;
}
@java.lang.SuppressWarnings("all")
- public static class BuilderWithDeprecatedBuilder {
+ public static class BuilderWithDeprecatedWithSetterPrefixBuilder {
@java.lang.SuppressWarnings("all")
private String dep1;
@java.lang.SuppressWarnings("all")
@@ -28,65 +28,65 @@ public class BuilderWithDeprecated {
@java.lang.SuppressWarnings("all")
private com.google.common.collect.ImmutableList.Builder<Integer> numbers;
@java.lang.SuppressWarnings("all")
- BuilderWithDeprecatedBuilder() {
+ BuilderWithDeprecatedWithSetterPrefixBuilder() {
}
/**
* @deprecated since always
*/
@java.lang.Deprecated
@java.lang.SuppressWarnings("all")
- public BuilderWithDeprecatedBuilder withDep1(final String dep1) {
+ public BuilderWithDeprecatedWithSetterPrefixBuilder withDep1(final String dep1) {
this.dep1 = dep1;
return this;
}
@java.lang.Deprecated
@java.lang.SuppressWarnings("all")
- public BuilderWithDeprecatedBuilder withDep2(final int dep2) {
+ public BuilderWithDeprecatedWithSetterPrefixBuilder withDep2(final int dep2) {
this.dep2 = dep2;
return this;
}
@java.lang.Deprecated
@java.lang.SuppressWarnings("all")
- public BuilderWithDeprecatedBuilder withString(final String string) {
+ public BuilderWithDeprecatedWithSetterPrefixBuilder withString(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 withStrings(final java.util.Collection<? extends String> strings) {
+ public BuilderWithDeprecatedWithSetterPrefixBuilder withStrings(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 BuilderWithDeprecatedWithSetterPrefixBuilder clearStrings() {
if (this.strings != null) this.strings.clear();
return this;
}
@java.lang.Deprecated
@java.lang.SuppressWarnings("all")
- public BuilderWithDeprecatedBuilder withNumber(final Integer number) {
+ public BuilderWithDeprecatedWithSetterPrefixBuilder withNumber(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 withNumbers(final java.lang.Iterable<? extends Integer> numbers) {
+ public BuilderWithDeprecatedWithSetterPrefixBuilder withNumbers(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 BuilderWithDeprecatedWithSetterPrefixBuilder clearNumbers() {
this.numbers = null;
return this;
}
@java.lang.SuppressWarnings("all")
- public BuilderWithDeprecated build() {
+ public BuilderWithDeprecatedWithSetterPrefix build() {
java.util.List<String> strings;
switch (this.strings == null ? 0 : this.strings.size()) {
case 0:
@@ -99,16 +99,16 @@ public class BuilderWithDeprecated {
strings = java.util.Collections.unmodifiableList(new java.util.ArrayList<String>(this.strings));
}
com.google.common.collect.ImmutableList<Integer> numbers = this.numbers == null ? com.google.common.collect.ImmutableList.<Integer>of() : this.numbers.build();
- return new BuilderWithDeprecated(dep1, dep2, strings, numbers);
+ return new BuilderWithDeprecatedWithSetterPrefix(dep1, dep2, strings, numbers);
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
- return "BuilderWithDeprecated.BuilderWithDeprecatedBuilder(dep1=" + this.dep1 + ", dep2=" + this.dep2 + ", strings=" + this.strings + ", numbers=" + this.numbers + ")";
+ return "BuilderWithDeprecatedWithSetterPrefix.BuilderWithDeprecatedWithSetterPrefixBuilder(dep1=" + this.dep1 + ", dep2=" + this.dep2 + ", strings=" + this.strings + ", numbers=" + this.numbers + ")";
}
}
@java.lang.SuppressWarnings("all")
- public static BuilderWithDeprecatedBuilder builder() {
- return new BuilderWithDeprecatedBuilder();
+ public static BuilderWithDeprecatedWithSetterPrefixBuilder builder() {
+ return new BuilderWithDeprecatedWithSetterPrefixBuilder();
}
}