Bug 18757

Summary: [getter setter] Generate getter/setter should show existing ones and allow to regenerate
Product: [Eclipse Project] JDT Reporter: Dani Megert <daniel_megert>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3 CC: deepakazad, dsegall
Version: 2.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Dani Megert CLA 2002-06-03 11:29:28 EDT
Build F2

Currently an info dialog is shown if getter and setter for field already exist.
Since the "normal" getter/setter" dialog already shows the fields for the type
it would be nice if it would come up even if getter and setter exist but the
existing getters and setters would not be checked and would be labeled getX() -
exists. A warning could be shown in the dialog if 0 methods would be generated.

If an existing setter/gettter is checked then it should be removed and regenerated.

Optionally a warning could inform the user about the fact that a method gets
regenerated i.e. overwritten.
Comment 1 Erich Gamma CLA 2002-06-05 02:35:45 EDT
defer
Comment 2 Martin Aeschlimann CLA 2003-04-01 05:59:16 EST

*** This bug has been marked as a duplicate of 35870 ***
Comment 3 Dani Megert CLA 2009-05-21 02:17:47 EDT
This was never fixed.
Comment 4 Dani Megert CLA 2009-05-21 02:18:30 EDT
*** Bug 277174 has been marked as a duplicate of this bug. ***