Project: JDT
Bug 69689 "pull up" field placement [refactoring]
Reported: 2004-07-08 20:31:45 | Status: resolved fixed

I did a pull up of a private field, and it added at the very end of the class, after all the methods. It should place it just like quickfix does when a field is created (at the top);

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/DifferentArgs1.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/DifferentArgs2.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/DifferentArgs3.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/DifferentSigs.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/InstanceContext_FFF.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/MultiUnit1A_FFF_out.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/MultipleCallers_FFF.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/Names_FFF.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/UnmovableArg1.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/UnmovableArg2.java org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test39/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFieldMethod0/out/A.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/IntroduceFactoryTests.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTNodes.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PullUpRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/util/JavaElementUtil.java