Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 224692 - [73cat] Improved rename refactoring for class name changes
[73cat] Improved rename refactoring for class name changes
Status: NEW
Product: java
Classification: Unclassified
Component: Refactoring
7.3
PC Windows 7
: P3 with 4 votes (vote)
: TBD
Assigned To: Ralph Ruijs
issues@java
:
Depends on:
Blocks:
  Show dependency treegraph
 
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
:


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.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo