On the first page of the wizard, select or clear the checkboxes to accept subclasses, and use getters during code generation. You can also select a velocity template from the Template drop-down list to generate the code or create a custom template.

On the second page of the wizard, select the fields that should be used to determine equality, and click Next.

On the third page, select the fields to generate hash code.

Note that only the fields that were included in the equals() method, can participate in creating hash code. All these fields are selected by default, but you can unselect them, if necessary.

Click Next.

On the fourth page of the wizard, select the fields that contain non-null values. This optional li help the generated code avoid check for null and thus improves performance. Click Finish.