boolean (@Valid Object o) { if (o == this) { return true; } else if (!(o instanceof TestOnX)) { return false; } else { TestOnX other = (TestOnX)o; if (!other.canEqual(this)) { return false; } else if (Float.compare(this.someFloatField, other.someFloatField) != 0) { return false; } else { Object this$someIntField = this.getSomeIntField(); Object other$someIntField = other.getSomeIntField(); if (this$someIntField == null) { if (other$someIntField != null) { return false; } } else if (!this$someIntField.equals(other$someIntField)) { return false; } Object this$someStringField = this.getSomeStringField(); Object other$someStringField = other.getSomeStringField(); if (this$someStringField == null) { if (other$someStringField != null) { return false; } } else if (!this$someStringField.equals(other$someStringField)) { return false; } return true; } } }