Bug 474761 - Generating hashCode() and equals() for whole package using all fields of every class in package
Summary: Generating hashCode() and equals() for whole package using all fields of ever...
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.5   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-12 03:25 EDT by Varun Sharma CLA
Modified: 2015-08-12 03:37 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Varun Sharma CLA 2015-08-12 03:25:52 EDT
It will be good if we can generate hashCode() and equals() for whole package. When we generate hashCode() and equals() for a class, Eclipse asks to use which fields to be used in hashCode() and equals(). If this feature is developed, Eclipse should generate hashCode() and equals() using every field of each class in package or Eclipse may ask user to choose fields to be used in hashCode() and equals() for each class in package.