aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/EqualsAndHashCodeExplicitInclude.java
blob: 96b54039f7bbd66afd19153dce458f6e8cc18f13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@lombok.EqualsAndHashCode(onlyExplicitlyIncluded = true) class EqualsAndHashCodeExplicitInclude {
  int x;
  EqualsAndHashCodeExplicitInclude() {
    super();
  }
  public @java.lang.Override @java.lang.SuppressWarnings("all") boolean equals(final java.lang.Object o) {
    if ((o == this))
        return true;
    if ((! (o instanceof EqualsAndHashCodeExplicitInclude)))
        return false;
    final EqualsAndHashCodeExplicitInclude other = (EqualsAndHashCodeExplicitInclude) o;
    if ((! other.canEqual((java.lang.Object) this)))
        return false;
    return true;
  }
  protected @java.lang.SuppressWarnings("all") boolean canEqual(final java.lang.Object other) {
    return (other instanceof EqualsAndHashCodeExplicitInclude);
  }
  public @java.lang.Override @java.lang.SuppressWarnings("all") int hashCode() {
    final int result = 1;
    return result;
  }
}