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 59810 - Cannot make a nested class into a top-level class
Summary: Cannot make a nested class into a top-level class
Status: RESOLVED DUPLICATE of bug 56475
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-09 20:17 UTC by Jesse Glick
Modified: 2007-04-03 18:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2005-06-09 20:17:50 UTC
There does not appear to be any refactoring available to simply move a nested
class into its own top-level class (.java file). Should be straightforward
enough for a static nested class; a little trickier for inner classes - need to
introduce a field and constructor arg for the outer class.

Marking as a bug since at least some such functionality (for static nested
classes) was available in NB 3.x: you could just Cut the nested class, then
Paste in a package folder.
Comment 1 Jan Becicka 2005-06-10 06:36:24 UTC

*** This issue has been marked as a duplicate of 56475 ***