aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/DataWithOverrideEqualsAndHashCode.java
blob: 78138bbf90184bab1f96b77cf8cc5dc78423e56d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import lombok.Data;

class DataWithOverrideEqualsAndHashCode {
	class Data1 {
		
	}
	
	@Data
	class Data2 extends Data1 {
		public int hashCode() {
			return 42;
		}
		
		public boolean equals(Object other) {
			return false;
		}
	}
}