aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/ValueWithJavaBeansSpecCapitalization.java
blob: b92dd5b616a1c5ee6d7305cb42d241efc09ca010 (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
final class ValueWithJavaBeansSpecCapitalization {
	private final int aField;
	@java.lang.SuppressWarnings("all")
	public ValueWithJavaBeansSpecCapitalization(final int aField) {
		this.aField = aField;
	}
	@java.lang.SuppressWarnings("all")
	public int getaField() {
		return this.aField;
	}
	@java.lang.Override
	@java.lang.SuppressWarnings("all")
	public boolean equals(final java.lang.Object o) {
		if (o == this) return true;
		if (!(o instanceof ValueWithJavaBeansSpecCapitalization)) return false;
		final ValueWithJavaBeansSpecCapitalization other = (ValueWithJavaBeansSpecCapitalization) o;
		if (this.getaField() != other.getaField()) return false;
		return true;
	}
	@java.lang.Override
	@java.lang.SuppressWarnings("all")
	public int hashCode() {
		final int PRIME = 59;
		int result = 1;
		result = result * PRIME + this.getaField();
		return result;
	}
	@java.lang.Override
	@java.lang.SuppressWarnings("all")
	public java.lang.String toString() {
		return "ValueWithJavaBeansSpecCapitalization(aField=" + this.getaField() + ")";
	}
}
final class ValueWithoutJavaBeansSpecCapitalization {
	private final int aField;
	@java.lang.SuppressWarnings("all")
	public ValueWithoutJavaBeansSpecCapitalization(final int aField) {
		this.aField = aField;
	}
	@java.lang.SuppressWarnings("all")
	public int getAField() {
		return this.aField;
	}
	@java.lang.Override
	@java.lang.SuppressWarnings("all")
	public boolean equals(final java.lang.Object o) {
		if (o == this) return true;
		if (!(o instanceof ValueWithoutJavaBeansSpecCapitalization)) return false;
		final ValueWithoutJavaBeansSpecCapitalization other = (ValueWithoutJavaBeansSpecCapitalization) o;
		if (this.getAField() != other.getAField()) return false;
		return true;
	}
	@java.lang.Override
	@java.lang.SuppressWarnings("all")
	public int hashCode() {
		final int PRIME = 59;
		int result = 1;
		result = result * PRIME + this.getAField();
		return result;
	}
	@java.lang.Override
	@java.lang.SuppressWarnings("all")
	public java.lang.String toString() {
		return "ValueWithoutJavaBeansSpecCapitalization(aField=" + this.getAField() + ")";
	}
}