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

Summary: add approximate fields option in code synchronziation
Product: java Reporter: loki <loki>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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