aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/DataWithOverrideEqualsAndHashCode.java
blob: 7e84dda4bec588d058c3a5138ecdb3304279de13 (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
class DataWithOverrideEqualsAndHashCode {

	class Data1 {
	}

	class Data2 extends Data1 {
		public int hashCode() {
			return 42;
		}

		public boolean equals(Object other) {
			return false;
		}

		@java.lang.SuppressWarnings("all")
		public Data2() {
		}

		@java.lang.Override
		@java.lang.SuppressWarnings("all")
		public java.lang.String toString() {
			return "DataWithOverrideEqualsAndHashCode.Data2()";
		}
	}
}