int () { int PRIME = true; int result = 1; Object $field1 = this.getField1(); int result = result * 59 + ($field1 == null ? 43 : $field1.hashCode()); Object $field2 = this.getField2(); result = result * 59 + ($field2 == null ? 43 : $field2.hashCode()); return result; }