Bug 18757 - [getter setter] Generate getter/setter should show existing ones and allow to regenerate
Summary: [getter setter] Generate getter/setter should show existing ones and allow to...
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 277174 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-06-03 11:29 EDT by Dani Megert CLA
Modified: 2010-10-21 23:08 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***