aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/EqualsAndHashCodeWithExistingMethods.java
blob: 93b20e2584b61942271c545456644ba6b366ebac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
class EqualsAndHashCodeWithExistingMethods {
	int x;
	public int hashCode() {
		return 42;
	}
}
final class EqualsAndHashCodeWithExistingMethods2 {
	int x;
	public boolean equals(Object other) {
		return false;
	}
}
final class EqualsAndHashCodeWithExistingMethods3 extends EqualsAndHashCodeWithExistingMethods {
	int x;
	public boolean canEqual(Object other) {
		return true;
	}
}