Bug 284368 - [quick fix] Create Property (getter, setter, field) from unresolved method reference
Summary: [quick fix] Create Property (getter, setter, field) from unresolved method re...
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows 2000
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
: 300531 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-07-23 02:57 EDT by Gergely Toth CLA
Modified: 2010-01-25 03:32 EST (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 Gergely Toth CLA 2009-07-23 02:57:04 EDT
Hi,

It's very common in the implementation process to reference methods that do not exists yet. If the referenced method is a getter/setter it would make things much faster if there was a create property quick fix.

If the method name that does not exists yet starts with 'get', 'set' or 'is' then the quick fix assist could give choices like 'create new property' which would generate the field, the getters and the setters, 'create field and getter' which would generate the field and the getter, and 'create field and setter' which would generate the field and the setter.
Comment 1 Markus Keller CLA 2009-07-28 13:59:12 EDT
Similar to bug 41542 (but not the same, since this bug requests to create the field as well).
Comment 2 Dani Megert CLA 2010-01-25 03:32:35 EST
*** Bug 300531 has been marked as a duplicate of this bug. ***