int () { final int PRIME = 59; int result = 1; result = result * PRIME + this.getSomeInt(); final Object $someString = this.getSomeString(); result = result * PRIME + ($someString == null ? 43 : $someString.hashCode()); final Object $someDate = this.getSomeDate(); result = result * PRIME + ($someDate == null ? 43 : $someDate.hashCode()); return result; }