aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/PrivateNoArgsConstructor.java
blob: 18e6f21188fe4988a9771e10fd3992fe025d1551 (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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
public class PrivateNoArgsConstructor {
	private static class Base {
	}
	public static class PrivateNoArgsConstructorNotOnExtends extends Base {
		private final int a;
		@java.lang.SuppressWarnings("all")
		public PrivateNoArgsConstructorNotOnExtends(final int a) {
			this.a = a;
		}
		@java.lang.SuppressWarnings("all")
		public int getA() {
			return this.a;
		}
		@java.lang.Override
		@java.lang.SuppressWarnings("all")
		public boolean equals(final java.lang.Object o) {
			if (o == this) return true;
			if (!(o instanceof PrivateNoArgsConstructor.PrivateNoArgsConstructorNotOnExtends)) return false;
			final PrivateNoArgsConstructor.PrivateNoArgsConstructorNotOnExtends other = (PrivateNoArgsConstructor.PrivateNoArgsConstructorNotOnExtends) o;
			if (!other.canEqual((java.lang.Object) this)) return false;
			if (!super.equals(o)) return false;
			if (this.getA() != other.getA()) return false;
			return true;
		}
		@java.lang.SuppressWarnings("all")
		protected boolean canEqual(final java.lang.Object other) {
			return other instanceof PrivateNoArgsConstructor.PrivateNoArgsConstructorNotOnExtends;
		}
		@java.lang.Override
		@java.lang.SuppressWarnings("all")
		public int hashCode() {
			final int PRIME = 59;
			int result = super.hashCode();
			result = result * PRIME + this.getA();
			return result;
		}
		@java.lang.Override
		@java.lang.SuppressWarnings("all")
		public java.lang.String toString() {
			return "PrivateNoArgsConstructor.PrivateNoArgsConstructorNotOnExtends(a=" + this.getA() + ")";
		}
	}
	public static class PrivateNoArgsConstructorOnExtendsObject extends Object {
		private final int b;
		@java.lang.SuppressWarnings("all")
		public PrivateNoArgsConstructorOnExtendsObject(final int b) {
			this.b = b;
		}
		@java.lang.SuppressWarnings("all")
		private PrivateNoArgsConstructorOnExtendsObject() {
			this.b = 0;
		}
		@java.lang.SuppressWarnings("all")
		public int getB() {
			return this.b;
		}
		@java.lang.Override
		@java.lang.SuppressWarnings("all")
		public boolean equals(final java.lang.Object o) {
			if (o == this) return true;
			if (!(o instanceof PrivateNoArgsConstructor.PrivateNoArgsConstructorOnExtendsObject)) return false;
			final PrivateNoArgsConstructor.PrivateNoArgsConstructorOnExtendsObject other = (PrivateNoArgsConstructor.PrivateNoArgsConstructorOnExtendsObject) o;
			if (!other.canEqual((java.lang.Object) this)) return false;
			if (this.getB() != other.getB()) return false;
			return true;
		}
		@java.lang.SuppressWarnings("all")
		protected boolean canEqual(final java.lang.Object other) {
			return other instanceof PrivateNoArgsConstructor.PrivateNoArgsConstructorOnExtendsObject;
		}
		@java.lang.Override
		@java.lang.SuppressWarnings("all")
		public int hashCode() {
			final int PRIME = 59;
			int result = 1;
			result = result * PRIME + this.getB();
			return result;
		}
		@java.lang.Override
		@java.lang.SuppressWarnings("all")
		public java.lang.String toString() {
			return "PrivateNoArgsConstructor.PrivateNoArgsConstructorOnExtendsObject(b=" + this.getB() + ")";
		}
	}
	public static class PrivateNoArgsConstructorExplicitBefore {
		private final int c;
		@java.lang.SuppressWarnings("all")
		public PrivateNoArgsConstructorExplicitBefore() {
			this.c = 0;
		}
		@java.lang.SuppressWarnings("all")
		public int getC() {
			return this.c;
		}
		@java.lang.Override
		@java.lang.SuppressWarnings("all")
		public boolean equals(final java.lang.Object o) {
			if (o == this) return true;
			if (!(o instanceof PrivateNoArgsConstructor.PrivateNoArgsConstructorExplicitBefore)) return false;
			final PrivateNoArgsConstructor.PrivateNoArgsConstructorExplicitBefore other = (PrivateNoArgsConstructor.PrivateNoArgsConstructorExplicitBefore) o;
			if (!other.canEqual((java.lang.Object) this)) return false;
			if (this.getC() != other.getC()) return false;
			return true;
		}
		@java.lang.SuppressWarnings("all")
		protected boolean canEqual(final java.lang.Object other) {
			return other instanceof PrivateNoArgsConstructor.PrivateNoArgsConstructorExplicitBefore;
		}
		@java.lang.Override
		@java.lang.SuppressWarnings("all")
		public int hashCode() {
			final int PRIME = 59;
			int result = 1;
			result = result * PRIME + this.getC();
			return result;
		}
		@java.lang.Override
		@java.lang.SuppressWarnings("all")
		public java.lang.String toString() {
			return "PrivateNoArgsConstructor.PrivateNoArgsConstructorExplicitBefore(c=" + this.getC() + ")";
		}
		@java.lang.SuppressWarnings("all")
		public PrivateNoArgsConstructorExplicitBefore(final int c) {
			this.c = c;
		}
	}
	public static class PrivateNoArgsConstructorExplicitAfter {
		private final int d;
		@java.lang.SuppressWarnings("all")
		public int getD() {
			return this.d;
		}
		@java.lang.Override
		@java.lang.SuppressWarnings("all")
		public boolean equals(final java.lang.Object o) {
			if (o == this) return true;
			if (!(o instanceof PrivateNoArgsConstructor.PrivateNoArgsConstructorExplicitAfter)) return false;
			final PrivateNoArgsConstructor.PrivateNoArgsConstructorExplicitAfter other = (PrivateNoArgsConstructor.PrivateNoArgsConstructorExplicitAfter) o;
			if (!other.canEqual((java.lang.Object) this)) return false;
			if (this.getD() != other.getD()) return false;
			return true;
		}
		@java.lang.SuppressWarnings("all")
		protected boolean canEqual(final java.lang.Object other) {
			return other instanceof PrivateNoArgsConstructor.PrivateNoArgsConstructorExplicitAfter;
		}
		@java.lang.Override
		@java.lang.SuppressWarnings("all")
		public int hashCode() {
			final int PRIME = 59;
			int result = 1;
			result = result * PRIME + this.getD();
			return result;
		}
		@java.lang.Override
		@java.lang.SuppressWarnings("all")
		public java.lang.String toString() {
			return "PrivateNoArgsConstructor.PrivateNoArgsConstructorExplicitAfter(d=" + this.getD() + ")";
		}
		@java.lang.SuppressWarnings("all")
		public PrivateNoArgsConstructorExplicitAfter() {
			this.d = 0;
		}
		@java.lang.SuppressWarnings("all")
		public PrivateNoArgsConstructorExplicitAfter(final int d) {
			this.d = d;
		}
	}
	public static class PrivateNoArgsConstructorExplicitNone {
		private final int e;
		@java.lang.SuppressWarnings("all")
		public int getE() {
			return this.e;
		}
		@java.lang.Override
		@java.lang.SuppressWarnings("all")
		public boolean equals(final java.lang.Object o) {
			if (o == this) return true;
			if (!(o instanceof PrivateNoArgsConstructor.PrivateNoArgsConstructorExplicitNone)) return false;
			final PrivateNoArgsConstructor.PrivateNoArgsConstructorExplicitNone other = (PrivateNoArgsConstructor.PrivateNoArgsConstructorExplicitNone) o;
			if (!other.canEqual((java.lang.Object) this)) return false;
			if (this.getE() != other.getE()) return false;
			return true;
		}
		@java.lang.SuppressWarnings("all")
		protected boolean canEqual(final java.lang.Object other) {
			return other instanceof PrivateNoArgsConstructor.PrivateNoArgsConstructorExplicitNone;
		}
		@java.lang.Override
		@java.lang.SuppressWarnings("all")
		public int hashCode() {
			final int PRIME = 59;
			int result = 1;
			result = result * PRIME + this.getE();
			return result;
		}
		@java.lang.Override
		@java.lang.SuppressWarnings("all")
		public java.lang.String toString() {
			return "PrivateNoArgsConstructor.PrivateNoArgsConstructorExplicitNone(e=" + this.getE() + ")";
		}
		@java.lang.SuppressWarnings("all")
		public PrivateNoArgsConstructorExplicitNone(final int e) {
			this.e = e;
		}
	}
	public static class PrivateNoArgsConstructorNoFields {
		@java.lang.SuppressWarnings("all")
		public PrivateNoArgsConstructorNoFields() {
		}
		@java.lang.Override
		@java.lang.SuppressWarnings("all")
		public boolean equals(final java.lang.Object o) {
			if (o == this) return true;
			if (!(o instanceof PrivateNoArgsConstructor.PrivateNoArgsConstructorNoFields)) return false;
			final PrivateNoArgsConstructor.PrivateNoArgsConstructorNoFields other = (PrivateNoArgsConstructor.PrivateNoArgsConstructorNoFields) o;
			if (!other.canEqual((java.lang.Object) this)) return false;
			return true;
		}
		@java.lang.SuppressWarnings("all")
		protected boolean canEqual(final java.lang.Object other) {
			return other instanceof PrivateNoArgsConstructor.PrivateNoArgsConstructorNoFields;
		}
		@java.lang.Override
		@java.lang.SuppressWarnings("all")
		public int hashCode() {
			int result = 1;
			return result;
		}
		@java.lang.Override
		@java.lang.SuppressWarnings("all")
		public java.lang.String toString() {
			return "PrivateNoArgsConstructor.PrivateNoArgsConstructorNoFields()";
		}
	}
}