Hi, I'm looking for a very specific eclipse plugin that will tell me if a class in my project is not implementing hashCode or/and equals methods.
Does anyone know of such a plugin?
Thanks
Hi, I'm looking for a very specific eclipse plugin that will tell me if a class in my project is not implementing hashCode or/and equals methods.
Does anyone know of such a plugin?
Thanks
Can you not use the Checkstyle plugin and write your own Checkstyle rule? (There's a Checkstyle rule for overriding equals but not hashCode, but nothing to make sure that both are implemented for all classes, AFAIK.)
Or you can use findbugs
The rule HE_EQUALS_NO_HASHCODE does what you want, and there is a plugin for eclipse