blob: f62167c6088be762a887874675cf32e364dfd988 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
|
//CONF: lombok.noArgsConstructor.extraPrivate = true
import lombok.NoArgsConstructor;
final class ConstructorsWithBuilderDefaults<T> {
private final java.util.List<T> z;
private final T x;
private final T q;
@java.lang.SuppressWarnings("all")
private static <T> java.util.List<T> $default$z() {
return new java.util.ArrayList<T>();
}
@java.lang.SuppressWarnings("all")
private static <T> T $default$x() {
return null;
}
@java.lang.SuppressWarnings("all")
ConstructorsWithBuilderDefaults(final java.util.List<T> z, final T x, final T q) {
this.z = z;
this.x = x;
this.q = q;
}
@java.lang.SuppressWarnings("all")
public static class ConstructorsWithBuilderDefaultsBuilder<T> {
@java.lang.SuppressWarnings("all")
private boolean z$set;
@java.lang.SuppressWarnings("all")
private java.util.List<T> z$value;
@java.lang.SuppressWarnings("all")
private boolean x$set;
@java.lang.SuppressWarnings("all")
private T x$value;
@java.lang.SuppressWarnings("all")
private T q;
@java.lang.SuppressWarnings("all")
ConstructorsWithBuilderDefaultsBuilder() {
}
/**
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public ConstructorsWithBuilderDefaults.ConstructorsWithBuilderDefaultsBuilder<T> z(final java.util.List<T> z) {
this.z$value = z;
z$set = true;
return this;
}
/**
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public ConstructorsWithBuilderDefaults.ConstructorsWithBuilderDefaultsBuilder<T> x(final T x) {
this.x$value = x;
x$set = true;
return this;
}
/**
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public ConstructorsWithBuilderDefaults.ConstructorsWithBuilderDefaultsBuilder<T> q(final T q) {
this.q = q;
return this;
}
@java.lang.SuppressWarnings("all")
public ConstructorsWithBuilderDefaults<T> build() {
java.util.List<T> z$value = this.z$value;
if (!this.z$set) z$value = ConstructorsWithBuilderDefaults.<T>$default$z();
T x$value = this.x$value;
if (!this.x$set) x$value = ConstructorsWithBuilderDefaults.<T>$default$x();
return new ConstructorsWithBuilderDefaults<T>(z$value, x$value, this.q);
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "ConstructorsWithBuilderDefaults.ConstructorsWithBuilderDefaultsBuilder(z$value=" + this.z$value + ", x$value=" + this.x$value + ", q=" + this.q + ")";
}
}
@java.lang.SuppressWarnings("all")
public static <T> ConstructorsWithBuilderDefaults.ConstructorsWithBuilderDefaultsBuilder<T> builder() {
return new ConstructorsWithBuilderDefaults.ConstructorsWithBuilderDefaultsBuilder<T>();
}
@java.lang.SuppressWarnings("all")
private ConstructorsWithBuilderDefaults() {
this.q = null;
this.z = ConstructorsWithBuilderDefaults.$default$z();
this.x = ConstructorsWithBuilderDefaults.$default$x();
}
@java.lang.SuppressWarnings("all")
public java.util.List<T> getZ() {
return this.z;
}
@java.lang.SuppressWarnings("all")
public T getX() {
return this.x;
}
@java.lang.SuppressWarnings("all")
public T getQ() {
return this.q;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof ConstructorsWithBuilderDefaults)) return false;
final ConstructorsWithBuilderDefaults<?> other = (ConstructorsWithBuilderDefaults<?>) o;
final java.lang.Object this$z = this.getZ();
final java.lang.Object other$z = other.getZ();
if (this$z == null ? other$z != null : !this$z.equals(other$z)) return false;
final java.lang.Object this$x = this.getX();
final java.lang.Object other$x = other.getX();
if (this$x == null ? other$x != null : !this$x.equals(other$x)) return false;
final java.lang.Object this$q = this.getQ();
final java.lang.Object other$q = other.getQ();
if (this$q == null ? other$q != null : !this$q.equals(other$q)) return false;
return true;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public int hashCode() {
final int PRIME = 59;
int result = 1;
final java.lang.Object $z = this.getZ();
result = result * PRIME + ($z == null ? 43 : $z.hashCode());
final java.lang.Object $x = this.getX();
result = result * PRIME + ($x == null ? 43 : $x.hashCode());
final java.lang.Object $q = this.getQ();
result = result * PRIME + ($q == null ? 43 : $q.hashCode());
return result;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "ConstructorsWithBuilderDefaults(z=" + this.getZ() + ", x=" + this.getX() + ", q=" + this.getQ() + ")";
}
}
|