Bug 474761

Summary: Generating hashCode() and equals() for whole package using all fields of every class in package
Product: [Eclipse Project] JDT Reporter: Varun Sharma <varunsharma200864>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: 4.5   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

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.