CodeRelief
The CodeRelief Eclipse plugin generates the code for the equals(), hashCode() & toString() methods. All you do is select the class variables you want to include & VOILA, you have the code for the method. All this in the comfort of your Eclipse IDE.
This plugin is released under the GNU LGPL licence. A copy of this licence is inlcuded in the distribution
Steps to use:
- Copy the CodeRelief_1.0 directory to your Eclipse plugins directory
- Start Eclipse and open the Java file for which you want to generate the code
- Make sure that you are in the "Java perspective" and the "Outline View" on the right hand side is visible
- Select the variables from the outline view that you want to include as part of the methods and right click.
Click on this link to get more detail: http://www.geocities.com/bsnavin/timepass/downloads/coderelief.html