Bug 97194 - [quick fix] suggest setter creation when quickfixing bean.setFoo(bar)
Summary: [quick fix] suggest setter creation when quickfixing bean.setFoo(bar)
Status: RESOLVED DUPLICATE of bug 41542
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P4 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-30 05:28 EDT by Thorbjørn Ravn Andersen CLA
Modified: 2007-03-22 06:26 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 Thorbjørn Ravn Andersen CLA 2005-05-30 05:28:26 EDT
I am currently writing a lot of code where I build up a bean with a lot of
external bean.setFoo(bar) which fail, and I then quickfix to create the method.
 I then manually write "this.foo = argument" which also fails, and I then
quickfix to create the field.  Later I then create the getters with the source
menu entry.

It would be nice if Eclipse recognized the setFoo to provide a bean setter
creation entry which creates the setter and the underlying field with the type
of the argument.  Optionally a getter could also be created.
Comment 1 Dirk Baeumer CLA 2005-05-30 17:14:19 EDT
Deferrring post 3.1. We are now in a mode were we don't consider enhacement
requests anymore.
Comment 2 Martin Aeschlimann CLA 2007-03-22 06:26:32 EDT
reopen as dup of bug 41542
Comment 3 Martin Aeschlimann CLA 2007-03-22 06:26:40 EDT

*** This bug has been marked as a duplicate of bug 41542 ***