Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 338341

Summary: refactor: convert top level type to member type
Product: [Eclipse Project] JDT Reporter: Albert Zeyer <albzey+eclipsebugs>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: markus.kell.r
Version: 3.6.2   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:

Description Albert Zeyer CLA 2011-02-27 11:23:58 EST
There is the refactor-possibility to convert a member type to a top level.

I miss the reverse functionality. Or can I do the reverse somehow? If so, it is unclear how to.


-- Configuration Details --
Product: Eclipse 1.3.2.20110218-0812 (org.eclipse.epp.package.java.product)
Installed Features:
 org.eclipse.jdt 3.6.2.r362_v20101117-0800-7z8XFW6FLFlmjJcvz03jyeFBLS_F
Comment 1 Markus Keller CLA 2011-02-28 09:25:04 EST
We don't have a separate refactoring for this, but Copy/Paste and
Organize Imports will do most of what's necessary (if the type name is not unique, rename it before doing the Copy/Paste).

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