aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/DataWithOverrideEqualsAndHashCode.java
blob: 2149321f63fb6ee48d680eb861f2c276da39c657 (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
import lombok.Data;
class DataWithOverrideEqualsAndHashCode {
  class Data1 {
    Data1() {
      super();
    }
  }
  @Data class Data2 extends Data1 {
    public int hashCode() {
      return 42;
    }
    public boolean equals(Object other) {
      return false;
    }
    public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() {
      return "DataWithOverrideEqualsAndHashCode.Data2()";
    }
    public @java.lang.SuppressWarnings("all") Data2() {
      super();
    }
  }
  DataWithOverrideEqualsAndHashCode() {
    super();
  }
}