// Generated by delombok at Sat Jun 11 11:12:44 CEST 2016

public final class Foo {
  private final String one;
  private final String two = "foo";

  public static void main(String[] args) {
    System.out.println(new Foo("one"));
  }

  @java.beans.ConstructorProperties({"one"})
  @java.lang.SuppressWarnings("all")
  public Foo(final String one) {
    this.one = one;
  }

  @java.lang.SuppressWarnings("all")
  public String getOne() {
    return this.one;
  }

  @java.lang.SuppressWarnings("all")
  public String getTwo() {
    return this.two;
  }

  @java.lang.Override
  @java.lang.SuppressWarnings("all")
  public boolean equals(final java.lang.Object o) {
    if (o == this) return true;
    if (!(o instanceof Foo)) return false;
    final Foo other = (Foo) o;
    final java.lang.Object this$one = this.getOne();
    final java.lang.Object other$one = other.getOne();
    if (this$one == null ? other$one != null : !this$one.equals(other$one)) return false;
    final java.lang.Object this$two = this.getTwo();
    final java.lang.Object other$two = other.getTwo();
    if (this$two == null ? other$two != null : !this$two.equals(other$two)) return false;
    return true;
  }

  @java.lang.Override
  @java.lang.SuppressWarnings("all")
  public int hashCode() {
    final int PRIME = 59;
    int result = 1;
    final java.lang.Object $one = this.getOne();
    result = result * PRIME + ($one == null ? 43 : $one.hashCode());
    final java.lang.Object $two = this.getTwo();
    result = result * PRIME + ($two == null ? 43 : $two.hashCode());
    return result;
  }

  @java.lang.Override
  @java.lang.SuppressWarnings("all")
  public java.lang.String toString() {
    return "Foo(one=" + this.getOne() + ", two=" + this.getTwo() + ")";
  }
}
