Object javadocs and Josh Bloch tell us a great deal about how hashCode/equals should be implemented, and good IDEs will handle fields of various types correctly. Some discussio
Never tried it, but how about http://code.google.com/p/equalsverifier/?