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 179400 - Move refactoring should work on methods and fields too.
Summary: Move refactoring should work on methods and fields too.
Status: RESOLVED DUPLICATE of bug 183077
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-11 18:40 UTC by i30817
Modified: 2011-10-31 14:35 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description i30817 2010-01-11 18:40:46 UTC
I think that refactorings should work across all the levels of code.

The most important missing: 
Move a static method (and any static method that it uses(recursive) and any field that it uses, and any static method that uses the field) to another class. A real refactoring.

Move a method (and any method that it uses(recursive), and any field that that it uses, and any method that uses that field)- warn that this is not a refactoring. Report any problems.

Move a static field (etc)

The only one that works like this currently is rename.
Comment 1 Ralph Ruijs 2011-10-31 14:35:45 UTC

*** This bug has been marked as a duplicate of bug 183077 ***