aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/NullLibrary1.java
blob: baea9e7a24cef74bde12161a7ceb210ea01efdb0 (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
26
27
28
29
30
31
32
33
34
35
36
37
public @lombok.EqualsAndHashCode @lombok.ToString @lombok.AllArgsConstructor class NullLibrary1 {
  @lombok.With String foo;
  public @org.eclipse.jdt.annotation.NonNull @java.lang.SuppressWarnings("all") NullLibrary1 withFoo(final String foo) {
    return ((this.foo == foo) ? this : new NullLibrary1(foo));
  }
  public @java.lang.Override @java.lang.SuppressWarnings("all") boolean equals(final java.lang.@org.eclipse.jdt.annotation.Nullable Object o) {
    if ((o == this))
        return true;
    if ((! (o instanceof NullLibrary1)))
        return false;
    final NullLibrary1 other = (NullLibrary1) o;
    if ((! other.canEqual((java.lang.Object) this)))
        return false;
    final java.lang.Object this$foo = this.foo;
    final java.lang.Object other$foo = other.foo;
    if (((this$foo == null) ? (other$foo != null) : (! this$foo.equals(other$foo))))
        return false;
    return true;
  }
  protected @java.lang.SuppressWarnings("all") boolean canEqual(final java.lang.@org.eclipse.jdt.annotation.Nullable Object other) {
    return (other instanceof NullLibrary1);
  }
  public @java.lang.Override @java.lang.SuppressWarnings("all") int hashCode() {
    final int PRIME = 59;
    int result = 1;
    final java.lang.Object $foo = this.foo;
    result = ((result * PRIME) + (($foo == null) ? 43 : $foo.hashCode()));
    return result;
  }
  public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.@org.eclipse.jdt.annotation.NonNull String toString() {
    return (("NullLibrary1(foo=" + this.foo) + ")");
  }
  public @java.lang.SuppressWarnings("all") NullLibrary1(final String foo) {
    super();
    this.foo = foo;
  }
}