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.
The code is not updated correctly when renaming value method in annotation, after confirming the refactoring the code is changed correctly steps to reproduce: 1) have a code: public class ClassARen { @interface M { String value(); } @M("hello") public void m() { } } 2) put cursor at 'value' and start renaming 3) type new name 'newName' -> the start of "hello" is rewritten to newNameo after pressing enter the code is generated correctly Product Version: NetBeans IDE Dev (Build 20131121-463f9d09987b) Java: 1.8.0-ea; Java HotSpot(TM) 64-Bit Server VM 25.0-b49 Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b107 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb) User directory: C:\Users\jprox\AppData\Roaming\NetBeans\dev Cache directory: C:\Users\jprox\AppData\Local\NetBeans\Cache\dev
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss