Bug 192580 - [Type Migration] Add ability to refactor the type of a member variable. [70cat]
[Type Migration] Add ability to refactor the type of a member variable. [70cat]
Status: NEW
Product: editor
Classification: Unclassified
Component: Refactoring
7.0
All All
: P3 with 1 vote (vote)
: 7.3
Assigned To: Ralph Ruijs
issues@editor
:
: 203242 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-11-28 03:46 UTC by esmithbss
Modified: 2012-07-12 10:56 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description esmithbss 2010-11-28 03:46:13 UTC
Product Version = NetBeans IDE Dev (Build 201011250001)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) Client VM 16.3-b01

A very helpful refactoring would be the ability to refactor a member variable's type such that all of it's uses within the class are automatically re-typed as well.

I understand this is a very difficult refactoring due to the internal analysis of the class; however, starting with parameter types for setters/getters, type casts and the variable declaration itself is a great first step.
Comment 1 Geertjan Wielenga 2011-09-11 20:02:44 UTC
I agree, would be great to have this. Now that we're able to change the name of a property and have the names of the getters and setters be updated at the same time, it would be great to also be able to change the TYPE of the property and have the TYPE of the getters and setters be updated at the same time!
Comment 2 Ralph Ruijs 2011-10-20 08:27:55 UTC
*** Bug 203242 has been marked as a duplicate of this bug. ***


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