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 - [73cat] Improved rename refactoring for class name changes
Summary: [73cat] Improved rename refactoring for class name changes
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal with 4 votes (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-10 10:48 UTC by misterm
Modified: 2013-01-12 08:21 UTC (History)
6 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
IDE log (92.68 KB, text/plain)
2013-01-10 10:48 UTC, misterm
Details

Note You need to log in before you can comment on or make changes to this bug.
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.