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 224692

Summary: [73cat] Improved rename refactoring for class name changes
Product: java Reporter: misterm <misterm>
Component: RefactoringAssignee: Ralph Ruijs <ralphbenjamin>
Status: NEW ---    
Severity: normal CC: Chiana, hmichel, janario, jkovalsky, markiewb, ulfzibis
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: IDE log

Description misterm 2013-01-10 10:48:15 UTC
The following features would make the rename refactoring more useful. They would be selected through a checkbox in the Rename class UI:

- Rename variables and properties named after this class;
- Rename classes and interfaces named after this class;
- Apply recursively

Product Version = NetBeans IDE Dev (Build 20130110-1f77a08481ab)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_01
Runtime = Java HotSpot(TM) 64-Bit Server VM 21.1-b02
Comment 1 misterm 2013-01-10 10:48:25 UTC
Created attachment 130072 [details]
IDE log
Comment 2 ulfzibis 2013-01-10 14:12:49 UTC
Please add example according NetCAT mailing list. ;-)
Comment 3 misterm 2013-01-10 14:21:16 UTC
Example:

You have a class name Base and that class is extended as BaseExt and when you rename Base to Bottom it will also Rename BaseExt to BottomExt.

Also will rename:

private Base base;

to:

private Bottom bottom;

and setters / getters everywhere.