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 125146

Summary: When using Refactor/Rename on a property field, ask whether getters/setters should also be changed
Product: java Reporter: cayhorstmann <cayhorstmann>
Component: SourceAssignee: Rastislav Komara <moonko>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description cayhorstmann 2008-01-11 23:43:12 UTC
I have a property "foo" that I want to change to "bar", including "getFoo" -> "getBar" and "setFoo" -> "setBar". Right
now, I have to three renames. In Eclipse, when I rename the field, it asks me whether I want to rename the getter/setter
as well. NetBeans should do this.
Comment 1 Rastislav Komara 2009-02-03 10:54:56 UTC
Overtake.
Comment 2 _ gtzabari 2013-10-03 17:28:27 UTC
This is already implemented in 7.4. Please review.
Comment 3 hans_adler 2017-11-08 11:56:46 UTC
Shouldn't this issue be closed? If I understand the issue correctly, I have been using this functionality in NetBeans for years.