CodeRelief

The CodeRelief Eclipse plugin generates the code for the equals(), hashCode() & toString() methods.

CodeRelief

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:

  1. Copy the CodeRelief_1.0 directory to your Eclipse plugins directory
  2. Start Eclipse and open the Java file for which you want to generate the code
  3. Make sure that you are in the "Java perspective" and the "Outline View" on the right hand side is visible
  4. 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