Project: JDT
Bug 41241 enhance 'move static' to handle member types [refactoring]
Reported: 2003-08-07 04:58:09 | Status: verified fixed

I20030806 - create class package p1; public class A { static class Inner { } public void foo() { Inner inner= null; } } - select Inner in outliner and move it to p2.C observe: - this doesn't seem to be a refactoring since the files stay unsave and there isn't any undo - no references are updated - I can't move the Inner class into another class. Only into a CU.

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/resources/MoveMembers/test36/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveMembers/test36/in/B.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveMembers/test36/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveMembers/test36/out/B.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveMembers/test37/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveMembers/test37/in/B.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveMembers/test37/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveMembers/test37/out/B.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveMembers/test38/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveMembers/test38/in/B.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveMembers/test38/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveMembers/test38/out/B.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveMembers/test39/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveMembers/test39/in/B.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveMembers/test39/in/C.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/MoveMembersTests.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveStaticMemberAnalyzer.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveStaticMembersRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MovedMemberAnalyzer.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ReferenceAnalyzer.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/util/JavaElementUtil.java