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 128858 - renaming a field should also update names of accessor methods
Summary: renaming a field should also update names of accessor methods
Status: RESOLVED DUPLICATE of bug 100758
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-29 17:17 UTC by jbenton96
Modified: 2008-03-03 07:39 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 jbenton96 2008-02-29 17:17:46 UTC
When an encapsulated field is renamed, the accessor methods should be renamed as well.

private String var;
public void setVar(String var)
public String getVar()

renaming var should produce:

private String newVar;
public void setNewVar(String newVar)
public String getNewVar()
Comment 1 Jiri Prox 2008-03-03 07:39:43 UTC
We definitely should implement this feature

*** This issue has been marked as a duplicate of 100758 ***