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 88017 - Rename field should also rename get/set method
Summary: Rename field should also rename get/set method
Status: RESOLVED DUPLICATE of bug 47625
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: PC All
: P3 blocker with 2 votes (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-26 02:47 UTC by waynezhang
Modified: 2011-10-20 09:09 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 waynezhang 2006-10-26 02:47:53 UTC
RENAME field refactoring should also rename set/get method if any. For example,
   private String myField;

   public void setMyField(String f){}
   public String getMyField(){}

Rename myField to userName, should also rename setMyField()/getMyField() to
setUserName()/getUserName().
Comment 1 Ralph Ruijs 2011-10-20 09:09:53 UTC

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