The Guava one's pretty succinct -- see http://docs.guava-libraries.googlecode.com/git/javadoc/com/google/common/base/Objects.html#hashCode(java.lang.Object...) -- but if Eclipse is writing all this then I am less worried about protecting your valuable time. (-: