This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 59092 - add approximate fields option in code synchronziation
Summary: add approximate fields option in code synchronziation
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-20 09:03 UTC by loki
Modified: 2010-09-23 08:35 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description loki 2005-05-20 09:03:16 UTC
Since it is good coding practice to use interfaces I find myself regularly in
situations where by adding an 'implements XXX' to a class the synchronization
kicks in (which is good!) Then all the method stubs are created but without the
approximate field. Could Netbeans be made so smart to create 'property
approximations' based on a bean pattern in the interface.

So interface XXX has a 

public String getWidget();

and a

public void setWidget(String widget);

and by choosing 'create approximate fields' in the synchronization of classes a
property 'private String widget' is created.

cheers,
Aad