Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Herrmann2010-04-02 00:00:55 +0000
committerStephan Herrmann2010-04-02 00:00:55 +0000
commit055f747cdb705dd90188e7c64aeb6de77506f429 (patch)
tree37f497e354aa6e3bd118915368aeca6fed72b332 /testplugins/org.eclipse.jdt.ui.tests.refactoring
parent47e5890c9a52c3feb17040037e1dc37eeb026211 (diff)
downloadorg.eclipse.objectteams-055f747cdb705dd90188e7c64aeb6de77506f429.tar.gz
org.eclipse.objectteams-055f747cdb705dd90188e7c64aeb6de77506f429.tar.xz
org.eclipse.objectteams-055f747cdb705dd90188e7c64aeb6de77506f429.zip
initial commit in accordance with CQ 3784
Diffstat (limited to 'testplugins/org.eclipse.jdt.ui.tests.refactoring')
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test0_in.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test0_out.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test10_in.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test10_out.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test11_in.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test11_out.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test12_in.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test12_out.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test13_in.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test13_out.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test14_in.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test14_out.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test15_in.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test15_out.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test16_in.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test16_out.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test17_in.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test17_out.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test18_in.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test18_out.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test19_in.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test19_out.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test1_in.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test1_out.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test20_in.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test20_out.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test21_in.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test21_out.java15
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test22_in.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test23_in.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test23_out.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test24_in.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test24_out.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test25_in.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test25_out.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test2_in.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test2_out.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test3_in.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test3_out.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test4_in.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test4_out.java16
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test5_in.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test5_out.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test6_in.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test6_out.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test7_in.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test7_out.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test8_in.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test8_out.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test9_in.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test9_out.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testDeclaringMethodBindingUnavailable01_in.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testDeclaringMethodBindingUnavailable01_out.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testEnum1_in.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testEnum1_out.java16
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testEnum2_in.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testEnum2_out.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testGenerics01_in.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testGenerics01_out.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testGenerics02_in.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testGenerics02_out.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testMultiVariableDeclFragment01_in.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testMultiVariableDeclFragment01_out.java15
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testMultiVariableDeclFragment02_in.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testMultiVariableDeclFragment02_out.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testMultiVariableDeclFragment03_in.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testMultiVariableDeclFragment03_out.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testMultiVariableDeclFragment04_in.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testMultiVariableDeclFragment04_out.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/cannotPromote/A_testFail0.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/cannotPromote/A_testFail1.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/cannotPromote/A_testFail2.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/cannotPromote/A_testFail4.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/cannotPromote/A_testFail5.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/cannotPromote/A_testFailGenerics1.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement0.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement1.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement10.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement11.java16
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement12.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement13.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement2.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement3.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement4.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement5.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement6.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement7.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement8.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement9.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test0/in/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test0/out/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test1/in/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test1/out/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test10/in/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test10/out/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test11/in/A.java15
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test11/out/A.java16
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test12/in/A.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test12/in/B.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test12/out/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test12/out/B.java3
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test13/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test13/out/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test14/in/A.java16
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test14/out/A.java17
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test15/in/A.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test15/out/A.java15
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test16/in/A.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test16/out/A.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test17/in/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test17/out/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test18/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test18/out/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test19/in/A.java17
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test19/out/A.java18
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test2/in/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test2/out/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test20/in/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test20/out/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test21/in/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test21/out/A.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test22/in/A.java17
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test22/out/A.java18
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test23/in/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test23/out/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test24/in/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test24/out/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test25/in/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test25/out/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test26/in/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test26/out/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test27/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test27/out/A.java20
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test28/in/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test28/out/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test29/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test29/out/A.java20
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test3/in/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test3/out/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test30/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test30/out/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test31/in/A.java18
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test31/out/A.java35
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test32/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test32/out/A.java20
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test33/in/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test33/out/A.java16
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test34/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test34/out/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test35/in/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test35/out/A.java15
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test36/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test36/out/A.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test37/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test37/out/A.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test38/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test38/out/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test39/in/A.java16
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test39/out/A.java16
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test4/in/A.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test4/in/B.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test4/out/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test4/out/B.java3
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test40/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test40/out/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test41/in/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test41/out/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test42/in/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test42/out/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test43/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test43/out/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test44/in/A.java18
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test44/out/A.java18
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test45/in/A.java17
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test45/out/A.java17
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test46/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test46/out/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test47/in/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test47/out/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test48/in/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test48/out/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test49/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test49/out/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test5/in/A.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test5/in/B.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test5/out/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test5/out/B.java3
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test6/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test6/out/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test7/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test7/out/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test8/in/A.java15
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test8/out/A.java16
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test9/in/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test9/out/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers0/in/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers1/in/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers10/in/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers11/in/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers12/in/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers2/in/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers3/in/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers4/in/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers5/in/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers6/in/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers7/in/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers8/in/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers9/in/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement0/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement1/in/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement10/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement11/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement12/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement13/in/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement14/in/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement15/in/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement16/in/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement17/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement18/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement19/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement2/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement20/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement21/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement22/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement23/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement24/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement3/in/A.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement4/in/A.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement5/in/A.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement6/in/A.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement7/in/A.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement8/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement9/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail0/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail1/in/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail10/in/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail10/in/B.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail11/in/A.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail11/in/B.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail12/in/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail12/in/B.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail13/in/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail14/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail15/in/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail16/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail17/in/A.java19
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail18/in/A.java16
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail19/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail2/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail20/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail21/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail22/in/A.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail23/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail24/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail25/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail26/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail27/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail28/in/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail29/in/A.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail3/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail4/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail5/in/A.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail6/in/A.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail6/in/B.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail7/in/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail7/in/B.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail8/in/A.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail8/in/B.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail9/in/A.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail9/in/B.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFailTemplate/in/A.java1
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testField0/in/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testField0/out/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFieldFail0/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFieldFail1/in/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFieldFail2/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFieldMethod0/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFieldMethod0/out/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics0/in/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics0/out/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics1/in/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics1/out/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics10/in/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics10/out/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics11/in/A.java15
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics11/out/A.java16
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics12/in/A.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics12/in/B.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics12/out/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics12/out/B.java3
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics13/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics13/out/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics14/in/A.java16
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics14/out/A.java17
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics15/in/A.java17
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics15/out/A.java18
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics2/in/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics2/out/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics3/in/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics3/out/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics4/in/A.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics4/in/B.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics4/out/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics4/out/B.java3
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics5/in/A.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics5/in/B.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics5/out/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics5/out/B.java3
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics6/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics6/out/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics7/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics7/out/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics8/in/A.java15
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics8/out/A.java16
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics9/in/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics9/out/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenericsFail0/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenericsFail1/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenericsFail2/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testStaticImports0/in/A.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testStaticImports0/in/B.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testStaticImports0/out/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testStaticImports0/out/B.java3
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testStaticImports1/in/A.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testStaticImports1/in/B.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testStaticImports1/out/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testStaticImports1/out/B.java3
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testTemplate/in/A.java1
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testTemplate/out/A.java1
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test0/in/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test0/out/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test1/in/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test1/out/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test10/in/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test10/out/A.java19
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test11/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test11/out/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test12/in/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test12/out/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test13/in/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test13/out/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test14/in/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test14/out/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test15/in/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test15/out/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test16/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test16/out/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test17/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test17/out/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test18/in/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test18/out/A.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test19/in/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test19/out/A.java20
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test2/in/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test2/out/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test20/in/A.java18
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test20/in/B.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test20/out/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test20/out/B.java19
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test21/in/A.java16
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test21/in/B.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test21/in/C.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test21/out/A.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test21/out/B.java18
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test21/out/C.java16
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test22/in/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test22/out/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test23/in/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test23/out/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test24/in/A.java15
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test24/out/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test25/in/A.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test25/out/A.java17
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test26/in/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test26/out/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test27/in/A.java16
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test27/out/A.java16
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test28/in/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test28/out/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test29/in/A.java16
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test29/out/A.java19
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test3/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test3/out/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test30/in/A.java18
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test30/out/A.java22
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test31/in/A.java16
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test31/out/A.java19
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test32/in/A.java16
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test32/out/A.java19
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test33/in/A.java18
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test33/in/B.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test33/in/C.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test33/out/A.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test33/out/B.java21
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test33/out/C.java19
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test34/in/A.java18
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test34/in/B.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test34/in/C.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test34/out/A.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test34/out/B.java20
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test34/out/C.java18
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test4/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test4/out/A.java16
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test5/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test5/out/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test6/in/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test6/out/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test7/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test7/out/A.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test8/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test8/out/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test9/in/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test9/out/A.java19
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testAddingRequiredMembers0/in/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testAddingRequiredMembers1/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testAddingRequiredMembers2/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testAddingRequiredMembers3/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testAddingRequiredMembers4/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testAddingRequiredMembers5/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testAddingRequiredMembers6/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testAddingRequiredMembers7/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testAddingRequiredMembers8/in/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testAddingRequiredMembers9/in/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testEnablement0/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testEnablement1/in/A.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testEnablement10/in/A.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testEnablement11/in/A.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testEnablement12/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testEnablement13/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testEnablement14/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testEnablement15/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testEnablement2/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testEnablement3/in/A.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testEnablement4/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testEnablement5/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testEnablement6/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testEnablement7/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testEnablement8/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testEnablement9/in/A.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testFail0/in/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testFail1/in/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testFail10/in/A.java15
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testFail11/in/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testFail12/in/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testFail2/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testFail3/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testFail7/in/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testFail8/in/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testFail9/in/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics0/in/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics0/out/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics1/in/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics1/out/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics10/in/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics10/out/A.java19
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics11/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics11/out/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics12/in/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics12/out/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics13/in/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics13/out/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics14/in/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics14/out/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics15/in/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics15/out/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics16/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics16/out/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics17/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics17/out/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics18/in/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics18/out/A.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics19/in/A.java15
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics19/out/A.java26
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics2/in/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics2/out/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics3/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics3/out/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics4/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics4/out/A.java16
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics5/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics5/out/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics6/in/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics6/out/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics7/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics7/out/A.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics8/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics8/out/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics9/in/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testGenerics9/out/A.java19
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testVisibility0/in/A.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testVisibility0/out/A.java17
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testVisibility1/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testVisibility1/out/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testVisibility2/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testVisibility2/out/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testVisibility3/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/testVisibility3/out/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RefactoringScanner/A.java20
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RefactoringScanner/B.java21
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RefactoringScanner/C.java40
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test0/in/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test0/out/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test1/in/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test1/out/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test10/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test10/out/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test11/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test11/out/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test12/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test12/out/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test14/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test14/out/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test15/in/A.java15
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test15/out/A.java15
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test16/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test16/out/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test17/in/A.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test17/out/A.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test18/in/A.java18
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test18/out/A.java18
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test19/in/A.java18
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test19/out/A.java18
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test2/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test2/out/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test20/in/A.java17
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test20/out/A.java17
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test21/in/A.java39
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test21/out/A.java39
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test22/in/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test22/out/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test24/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test24/out/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test25/in/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test25/out/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test26/in/A.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test26/out/A.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test27/in/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test27/out/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test28/in/A.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test28/out/A.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test29/in/A.java17
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test29/out/A.java17
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test3/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test3/out/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test30/in/A.java16
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test30/out/A.java16
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test31/in/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test31/out/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test32/in/A.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test32/out/A.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test33/in/A.java23
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test33/out/A.java23
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test34/in/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test34/out/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test35/in/A.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test35/out/A.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test36/in/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test36/out/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test37/in/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test37/out/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test38/in/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test38/out/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test39/in/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test39/out/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test4/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test4/out/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test40/in/A.java16
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test40/out/A.java16
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test41/in/A.java20
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test41/out/A.java20
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test42/in/A.java17
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test42/out/A.java17
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test43/in/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test43/out/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test44/in/A.java23
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test44/out/A.java23
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test45/in/A.java20
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test45/out/A.java20
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test46/in/A.java21
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test46/out/A.java21
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test47/in/A.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test47/out/A.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test5/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test5/out/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test6/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test6/out/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test7/in/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/test7/out/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testAnnotation0/in/A.java17
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testAnnotation0/out/A.java17
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testAnnotation1/in/A.java23
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testAnnotation1/out/A.java23
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testAnnotation2/in/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testAnnotation2/out/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testAnnotation3/in/A.java15
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testAnnotation3/out/A.java15
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testAnnotation4/in/A.java19
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testAnnotation4/out/A.java19
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testDelegate01/in/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testDelegate01/out/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testDelegate02/in/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testDelegate02/out/A.java22
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail0/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail1/in/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail10/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail11/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail12/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail13/in/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail14/in/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail15/in/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail16/in/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail17/in/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail18/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail19/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail20/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail21/in/A.java15
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail22/in/A.java15
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail23/in/A.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail24/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail25/in/A.java18
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail26/in/A.java19
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail27/in/A.java19
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail28/in/A.java25
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail29/in/A.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail3/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail30/in/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail31/in/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail32/in/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail33/in/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail34/in/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail35/in/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail36/in/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail37/in/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail38/in/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail39/in/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail4/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail40/in/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail41/in/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail42/in/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail43/in/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail44/in/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail45/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail5/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail6/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail7/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail8/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testFail9/in/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testGenerics01/in/A.java24
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameMethodInInterface/testGenerics01/out/A.java24
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test0/in/A.java19
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test0/out/A.java19
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test1/in/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test1/out/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test10/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test10/out/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test11/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test11/out/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test12/in/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test12/out/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test13/in/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test13/out/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test14/in/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test14/out/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test15/in/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test15/out/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test16/in/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test16/out/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test17/in/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test17/out/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test18/in/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test18/out/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test19/in/A.java26
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test19/out/A.java26
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test2/in/A.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test2/out/A.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test20/in/A.java26
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test20/out/A.java26
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test21/in/A.java16
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test21/out/A.java16
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test22/in/A.java27
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test22/out/A.java27
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test23/in/A.java15
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test23/out/A.java15
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test3/in/A.java23
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test3/out/A.java23
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test4/in/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test4/out/A.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test5/in/A.java18
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test5/out/A.java18
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test6/in/A.java22
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test6/out/A.java22
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test7/in/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test7/out/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test8/in/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test8/out/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test9/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/test9/out/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testAnnotation1/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testAnnotation1/out/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testAnnotation2/in/A.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testAnnotation2/out/A.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testBug5821/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testBug5821/out/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testDelegate01/in/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testDelegate01/out/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testDelegate02/in/A.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testDelegate02/out/A.java28
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testDelegate03/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testDelegate03/out/A.java22
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testEnumConst/in/A.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testEnumConst/in/B.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testEnumConst/in/C.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testEnumConst/out/A.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testEnumConst/out/B.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testEnumConst/out/C.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testEnumField/in/A.java21
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testEnumField/out/A.java21
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testFail0/in/A.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testFail1/in/A.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testFail10/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testFail11/in/A.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testFail12/in/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testFail13/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testFail14/in/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testFail2/in/A.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testFail3/in/A.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testFail4/in/A.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testFail5/in/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testFail6/in/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testFail7/in/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testFail8/in/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testFail9/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testGenerics1/in/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testGenerics1/out/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testGenerics2/in/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testGenerics2/out/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testGenerics3/in/A.java22
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testGenerics3/out/A.java22
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testGenerics4/in/A.java20
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testGenerics4/out/A.java20
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testRenameNLSAccessor01/in/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testRenameNLSAccessor01/in/messages.properties1
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testRenameNLSAccessor01/out/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testRenameNLSAccessor01/out/messages.properties1
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testStaticImport/in/A.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testStaticImport/in/B.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testStaticImport/in/C.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testStaticImport/out/A.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testStaticImport/out/B.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testStaticImport/out/C.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/test0/in/r/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/test0/out/p1/A.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/test1/in/r/A.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/test1/out/p1/A.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/test2/in/fred/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/test2/in/r/A.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/test2/out/fred/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/test2/out/p1/A.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/test3/in/fred/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/test3/in/r/r/B.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/test3/out/r/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/test3/out/r/r/B.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/test4/in/Textfile.txt13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/test4/in/r/A.java2
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/test4/in/r/p1/A.java2
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/test4/out/Textfile.txt13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/test4/out/q/A.java2
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/test4/out/r/A.java2
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/test5/in/r/A.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/test5/out/p1/A.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/test6/in/r/A.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/test6/out/p1/A.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/test7/in/r/A.java3
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/test7/in/r/s/B.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/test7/out/q/A.java3
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/test7/out/r/s/B.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/test8/in/java/lang/reflect/Klass.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/test8/out/nonjava/Klass.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testFail0/in/r/A.java2
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testFail1/in/r/p1/A.java2
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testFail10/in/r/A.java2
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testFail10/in/r/p1/A.java2
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testFail3/in/r/A.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testFail4/in/r/A.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testFail5/in/r/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testFail6/in/r/A.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testFail7/in/p1/A.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testFail7/in/r/A.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testFail8/in/p1/A.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testFail8/in/r/A.java3
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testFail9/in/p1/A.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testFail9/in/r/A.java3
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testHierarchical01/in/my/MyA.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testHierarchical01/in/my/a/ATest.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testHierarchical01/in/my/b/B.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testHierarchical01/out/your/MyA.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testHierarchical01/out/your/a/ATest.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testHierarchical01/out/your/b/B.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testHierarchical02/in/your/Y.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testHierarchical03/in/my/pack/C.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testHierarchical03/out/your/pack/C.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testHierarchicalDisabledImport/in/my/pack/C.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testHierarchicalDisabledImport/out/your/pack/C.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots1/in/srcPrg/p/p/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots1/in/srcTest/p/p/ATest.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots1/in/srcTest/tests/AllTests.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots1/out/srcPrg/q/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots1/out/srcTest/p/p/ATest.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots1/out/srcTest/tests/AllTests.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots2/in/srcPrg/p/p/A.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots2/in/srcTest/p/p/ATest.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots2/in/srcTest/p/p/TestHelper.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots2/in/srcTest/tests/AllTests.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots2/in/srcTest/tests/QualifiedTests.java16
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots2/out/srcPrg/q/A.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots2/out/srcTest/p/p/ATest.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots2/out/srcTest/p/p/TestHelper.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots2/out/srcTest/tests/AllTests.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots2/out/srcTest/tests/QualifiedTests.java15
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots3/in/srcPrg/p/p/ToQ.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots3/in/srcTest/p/p/Ref.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots3/out/srcPrg/q/ToQ.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots3/out/srcTest/p/p/Ref.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots4/in/srcPrg/p/A.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots4/in/srcPrg/p/B.java15
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots4/in/srcTest/p/ATest.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots4/out/srcPrg/a/b/c/A.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots4/out/srcPrg/a/b/c/B.java15
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots4/out/srcTest/p/ATest.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots5/in/srcPrg/p/p/A.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots5/in/srcTest/p/p/ATest.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots5/out/srcPrg/p/p/A.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots5/out/srcTest/q/ATest.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots6/in/srcPrg/p/p/A.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots6/in/srcTest/p/p/ATest.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots6/out/srcPrg/p/p/A.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots6/out/srcTest/cheese/ATest.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots7/in/srcPrj.other/pack/Namesake.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots7/in/srcPrj.ref/pack/Referer.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots7/in/srcPrj.ref/pack/man/StarImporter.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots7/in/srcPrj/pack/DingsDa.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots7/out/srcPrj.other/pack/Namesake.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots7/out/srcPrj.ref/pack/Referer.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots7/out/srcPrj.ref/pack/man/StarImporter.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testImportFromMultiRoots7/out/srcPrj/com/packt/DingsDa.java4
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testPackageRenameWithResource3/in/my/pack/Textfile.txt9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testPackageRenameWithResource3/out/my/Textfile.txt9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testReadOnly/in/r/A.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testReadOnly/out/p1/A.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testStatic1/in/s1/B.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testStatic1/in/s1/j/l/S.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testStatic1/out/s1/B.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testStatic1/out/s1/java/lang/S.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testStaticMultiRoots1/in/srcPrg/p/p/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testStaticMultiRoots1/in/srcTest/p/p/ATest.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testStaticMultiRoots1/in/srcTest/tests/AllTests.java14
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testStaticMultiRoots1/out/srcPrg/q/A.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testStaticMultiRoots1/out/srcTest/p/p/ATest.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testStaticMultiRoots1/out/srcTest/tests/AllTests.java15
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testToEmptyPack/in/r/p1/A.java2
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testToEmptyPack/out/fred/A.java2
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_in.java1
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_out.java1
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test0_in.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test0_out.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test10_in.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test10_out.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test11_in.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test11_out.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test12_in.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test12_out.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test13_in.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test13_out.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test14_in.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test14_out.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test15_in.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test15_out.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test16_in.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test16_out.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test17_in.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test17_out.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test18_in.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test18_out.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test19_in.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test19_out.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test1_in.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test1_out.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test20_in.java16
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test20_out.java16
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test21_in.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test21_out.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test22_in.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test22_out.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test23_in.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test23_out.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test24_in.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test24_out.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test25_in.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test25_out.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test26_in.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test26_out.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test27_in.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test27_out.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test28_in.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test28_out.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test29_in.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test29_out.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test2_in.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test2_out.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test30_in.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test30_out.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test31_in.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test31_out.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test32_in.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test32_out.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test33_in.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test33_out.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test34_in.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test34_out.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test35_in.java15
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test35_out.java15
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test36_in.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test36_out.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test3_in.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test3_out.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test4_in.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test4_out.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test5_in.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test5_out.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test6_in.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test6_out.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test7_in.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test7_out.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test8_in.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test8_out.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test9_in.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/canRename/A_test9_out.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/cannotRename/A_testFail0.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/cannotRename/A_testFail1.java6
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/cannotRename/A_testFail10.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/cannotRename/A_testFail11.java5
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/cannotRename/A_testFail12.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/cannotRename/A_testFail13.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/cannotRename/A_testFail14.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/cannotRename/A_testFail15.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/cannotRename/A_testFail16.java9
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/cannotRename/A_testFail17.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/cannotRename/A_testFail18.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/cannotRename/A_testFail19.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/cannotRename/A_testFail2.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/cannotRename/A_testFail20.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/cannotRename/A_testFail21.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/cannotRename/A_testFail3.java7
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/cannotRename/A_testFail4.java8
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/cannotRename/A_testFail5.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/cannotRename/A_testFail6.java13
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/cannotRename/A_testFail7.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/cannotRename/A_testFail8.java11
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/cannotRename/A_testFail9.java12
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/RenameParameters/cannotRename/a.java0
960 files changed, 9989 insertions, 0 deletions
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test0_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test0_in.java
new file mode 100644
index 000000000..d24ca4b7e
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test0_in.java
@@ -0,0 +1,7 @@
+package p;
+//initialize in method
+class A{
+ void f(){
+ int i= 0;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test0_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test0_out.java
new file mode 100644
index 000000000..0956f756f
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test0_out.java
@@ -0,0 +1,9 @@
+package p;
+//initialize in method
+class A{
+ private int i;
+
+ void f(){
+ i= 0;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test10_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test10_in.java
new file mode 100644
index 000000000..11d4b3dc8
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test10_in.java
@@ -0,0 +1,9 @@
+package p;
+//final
+class A{
+ A(){
+ }
+ void f(){
+ int i= 0;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test10_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test10_out.java
new file mode 100644
index 000000000..e6d864fd0
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test10_out.java
@@ -0,0 +1,10 @@
+package p;
+//final
+class A{
+ private final int i;
+ A(){
+ i= 0;
+ }
+ void f(){
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test11_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test11_in.java
new file mode 100644
index 000000000..898e5c386
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test11_in.java
@@ -0,0 +1,9 @@
+package p;
+//public
+class A{
+ A(){
+ }
+ void f(){
+ int i= 0;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test11_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test11_out.java
new file mode 100644
index 000000000..fdd2d2c94
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test11_out.java
@@ -0,0 +1,10 @@
+package p;
+//public
+class A{
+ public int i;
+ A(){
+ }
+ void f(){
+ i= 0;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test12_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test12_in.java
new file mode 100644
index 000000000..0e48d3b6f
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test12_in.java
@@ -0,0 +1,7 @@
+package p;
+//initialize in method
+class A{
+ static void f(){
+ int i= 0;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test12_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test12_out.java
new file mode 100644
index 000000000..949b9d93d
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test12_out.java
@@ -0,0 +1,9 @@
+package p;
+//initialize in method
+class A{
+ private static int i;
+
+ static void f(){
+ i= 0;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test13_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test13_in.java
new file mode 100644
index 000000000..1e2d00eb4
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test13_in.java
@@ -0,0 +1,7 @@
+package p;
+//initialize in method
+class A{
+ static void f(){
+ int i= 0, j= i;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test13_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test13_out.java
new file mode 100644
index 000000000..900f23618
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test13_out.java
@@ -0,0 +1,10 @@
+package p;
+//initialize in method
+class A{
+ private static int i;
+
+ static void f(){
+ i= 0;
+ int j= i;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test14_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test14_in.java
new file mode 100644
index 000000000..b71c0d8ca
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test14_in.java
@@ -0,0 +1,7 @@
+package p;
+//initialize in method
+class A{
+ static void f(){
+ int j= 0, i= 0;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test14_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test14_out.java
new file mode 100644
index 000000000..cb9c1bad7
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test14_out.java
@@ -0,0 +1,10 @@
+package p;
+//initialize in method
+class A{
+ private static int i;
+
+ static void f(){
+ int j= 0;
+ i= 0;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test15_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test15_in.java
new file mode 100644
index 000000000..5eefe8e82
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test15_in.java
@@ -0,0 +1,7 @@
+package p;
+//initialize in method
+class A{
+ static void f(){
+ int j= 0, i= 0, k;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test15_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test15_out.java
new file mode 100644
index 000000000..171daf79e
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test15_out.java
@@ -0,0 +1,11 @@
+package p;
+//initialize in method
+class A{
+ private static int i;
+
+ static void f(){
+ int j= 0;
+ i= 0;
+ int k;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test16_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test16_in.java
new file mode 100644
index 000000000..edcbba6bb
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test16_in.java
@@ -0,0 +1,12 @@
+package p;
+class A{
+ A(){
+ this(5);
+ }
+ A(int u){
+ super();
+ }
+ void f(){
+ int i= 0;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test16_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test16_out.java
new file mode 100644
index 000000000..3362abc37
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test16_out.java
@@ -0,0 +1,13 @@
+package p;
+class A{
+ private int i;
+ A(){
+ this(5);
+ }
+ A(int u){
+ super();
+ i= 0;
+ }
+ void f(){
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test17_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test17_in.java
new file mode 100644
index 000000000..690a08578
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test17_in.java
@@ -0,0 +1,6 @@
+package p;
+class A{
+ void f(){
+ int i;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test17_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test17_out.java
new file mode 100644
index 000000000..caea7fe51
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test17_out.java
@@ -0,0 +1,7 @@
+package p;
+class A{
+ private int i;
+
+ void f(){
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test18_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test18_in.java
new file mode 100644
index 000000000..1a2c26a26
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test18_in.java
@@ -0,0 +1,8 @@
+package p;
+class A {
+ private static class Bar {
+ public void baz() {
+ int i = 0;
+ }
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test18_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test18_out.java
new file mode 100644
index 000000000..356cb939e
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test18_out.java
@@ -0,0 +1,14 @@
+package p;
+class A {
+ private static class Bar {
+ private int i;
+
+ private Bar() {
+ i = 0;
+ // TODO Auto-generated constructor stub
+ }
+
+ public void baz() {
+ }
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test19_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test19_in.java
new file mode 100644
index 000000000..06ba6bbf5
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test19_in.java
@@ -0,0 +1,6 @@
+package p;
+class A {
+ void someMethod(){
+ int someArray[];
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test19_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test19_out.java
new file mode 100644
index 000000000..21c079003
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test19_out.java
@@ -0,0 +1,7 @@
+package p;
+class A {
+ private int fSomeArray[];
+
+ void someMethod(){
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test1_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test1_in.java
new file mode 100644
index 000000000..5e7ae6836
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test1_in.java
@@ -0,0 +1,7 @@
+package p;
+//initialize in declaration
+class A{
+ void f(){
+ int i= 0;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test1_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test1_out.java
new file mode 100644
index 000000000..b55901384
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test1_out.java
@@ -0,0 +1,8 @@
+package p;
+//initialize in declaration
+class A{
+ private int i= 0;
+
+ void f(){
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test20_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test20_in.java
new file mode 100644
index 000000000..c6cdd618d
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test20_in.java
@@ -0,0 +1,6 @@
+package p;
+class A {
+ void someMethod(){
+ double[] doubleDim[];
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test20_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test20_out.java
new file mode 100644
index 000000000..624572291
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test20_out.java
@@ -0,0 +1,7 @@
+package p;
+class A {
+ private double[] fDoubleDim[];
+
+ void someMethod(){
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test21_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test21_in.java
new file mode 100644
index 000000000..d189d24f4
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test21_in.java
@@ -0,0 +1,14 @@
+package p;
+class A {
+ public static void method2(final int i) {
+ final I x = new I() {//<-- refactor->convert local variable x to field
+ public void methodI() {
+ int y = 3;
+ }
+ };
+ I y= x;
+ }
+}
+interface I {
+ void methodI();
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test21_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test21_out.java
new file mode 100644
index 000000000..a63194e20
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test21_out.java
@@ -0,0 +1,15 @@
+package p;
+class A {
+ private static final I fgX= new I() {//<-- refactor->convert local variable x to field
+ public void methodI() {
+ int y = 3;
+ }
+ };
+
+ public static void method2(final int i) {
+ I y= fgX;
+ }
+}
+interface I {
+ void methodI();
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test22_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test22_in.java
new file mode 100644
index 000000000..55e85df98
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test22_in.java
@@ -0,0 +1,8 @@
+package p;
+class A {
+ void m() {
+ SortByDefiningTypeAction fSortByDefiningTypeAction= new SortByDefiningTypeAction();
+ }
+}
+class SortByDefiningTypeAction {
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test23_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test23_in.java
new file mode 100644
index 000000000..9d3f6e5bd
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test23_in.java
@@ -0,0 +1,7 @@
+package p;
+class A {
+ void m() {
+ int count= 12;
+ System.out.println(count)
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test23_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test23_out.java
new file mode 100644
index 000000000..9263d4a4a
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test23_out.java
@@ -0,0 +1,8 @@
+package p;
+class A {
+ private int fCount= 12;
+
+ void m() {
+ System.out.println(fCount)
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test24_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test24_in.java
new file mode 100644
index 000000000..47ccce6d8
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test24_in.java
@@ -0,0 +1,6 @@
+package p;
+class A {
+ void m() {
+ final boolean[] finished= { false };
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test24_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test24_out.java
new file mode 100644
index 000000000..69d6328aa
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test24_out.java
@@ -0,0 +1,8 @@
+package p;
+class A {
+ private boolean[] fFinisheds;
+
+ void m() {
+ fFinisheds= new boolean[]{ false };
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test25_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test25_in.java
new file mode 100644
index 000000000..d9e622b95
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test25_in.java
@@ -0,0 +1,11 @@
+package p;
+//initialize in method
+class A{
+ void f(){
+ switch (1) {
+ case 1:
+ int i = 0;
+ break;
+ }
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test25_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test25_out.java
new file mode 100644
index 000000000..b9d79e3f6
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test25_out.java
@@ -0,0 +1,13 @@
+package p;
+//initialize in method
+class A{
+ private int i;
+
+ void f(){
+ switch (1) {
+ case 1:
+ i= 0;
+ break;
+ }
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test2_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test2_in.java
new file mode 100644
index 000000000..25302ce75
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test2_in.java
@@ -0,0 +1,9 @@
+package p;
+//initialize in constructor
+class A{
+ A(){
+ }
+ void f(){
+ int i= 0;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test2_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test2_out.java
new file mode 100644
index 000000000..7aeefce66
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test2_out.java
@@ -0,0 +1,10 @@
+package p;
+//initialize in constructor
+class A{
+ private int i;
+ A(){
+ i= 0;
+ }
+ void f(){
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test3_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test3_in.java
new file mode 100644
index 000000000..b6bed8b90
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test3_in.java
@@ -0,0 +1,12 @@
+package p;
+//initialize in constructors
+class A{
+ A(){
+ }
+ A(int e){
+ }
+ void f(){
+ int i= 0;
+ i++;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test3_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test3_out.java
new file mode 100644
index 000000000..f61088886
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test3_out.java
@@ -0,0 +1,14 @@
+package p;
+//initialize in constructors
+class A{
+ private int i;
+ A(){
+ i= 0;
+ }
+ A(int e){
+ i= 0;
+ }
+ void f(){
+ i++;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test4_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test4_in.java
new file mode 100644
index 000000000..13826ee3b
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test4_in.java
@@ -0,0 +1,8 @@
+package p;
+//initialize in constructors
+class A{
+ void f(){
+ int i= 0;
+ i++;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test4_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test4_out.java
new file mode 100644
index 000000000..5ed6fa5ba
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test4_out.java
@@ -0,0 +1,16 @@
+package p;
+//initialize in constructors
+class A{
+ private int i;
+
+ /**
+ *
+ */
+ A() {
+ i= 0;
+ }
+
+ void f(){
+ i++;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test5_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test5_in.java
new file mode 100644
index 000000000..c75b1d4a1
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test5_in.java
@@ -0,0 +1,10 @@
+package p;
+class A{
+ void f(){
+ new Object(){
+ void fx(){
+ int i= 0;
+ }
+ };
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test5_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test5_out.java
new file mode 100644
index 000000000..d01037b1f
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test5_out.java
@@ -0,0 +1,12 @@
+package p;
+class A{
+ void f(){
+ new Object(){
+ private int i;
+
+ void fx(){
+ i= 0;
+ }
+ };
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test6_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test6_in.java
new file mode 100644
index 000000000..8a2eb40f2
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test6_in.java
@@ -0,0 +1,11 @@
+package p;
+class A{
+ void f(){
+ new Object(){
+ void fx(){
+ int i= s();
+ }
+ int s(){return 3;}
+ };
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test6_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test6_out.java
new file mode 100644
index 000000000..1a269a421
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test6_out.java
@@ -0,0 +1,11 @@
+package p;
+class A{
+ void f(){
+ new Object(){
+ private int i= s();
+ void fx(){
+ }
+ int s(){return 3;}
+ };
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test7_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test7_in.java
new file mode 100644
index 000000000..95bd5da89
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test7_in.java
@@ -0,0 +1,6 @@
+package p;
+class A{
+ void f(){
+ int i= 0, j= 0;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test7_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test7_out.java
new file mode 100644
index 000000000..84935859d
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test7_out.java
@@ -0,0 +1,8 @@
+package p;
+class A{
+ private int i= 0;
+
+ void f(){
+ int j= 0;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test8_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test8_in.java
new file mode 100644
index 000000000..95bd5da89
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test8_in.java
@@ -0,0 +1,6 @@
+package p;
+class A{
+ void f(){
+ int i= 0, j= 0;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test8_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test8_out.java
new file mode 100644
index 000000000..3117a5086
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test8_out.java
@@ -0,0 +1,9 @@
+package p;
+class A{
+ private int i;
+
+ void f(){
+ i= 0;
+ int j= 0;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test9_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test9_in.java
new file mode 100644
index 000000000..871629c31
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test9_in.java
@@ -0,0 +1,8 @@
+package p;
+//renaming
+class A{
+ void f(){
+ int i= 0;
+ i++;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test9_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test9_out.java
new file mode 100644
index 000000000..2c59c6c92
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test9_out.java
@@ -0,0 +1,10 @@
+package p;
+//renaming
+class A{
+ private int field;
+
+ void f(){
+ field= 0;
+ field++;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testDeclaringMethodBindingUnavailable01_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testDeclaringMethodBindingUnavailable01_in.java
new file mode 100644
index 000000000..3a29062ac
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testDeclaringMethodBindingUnavailable01_in.java
@@ -0,0 +1,11 @@
+// 9, 14, 9, 18
+package p;
+import java.util.Date;
+class A {
+ void a() {
+ }
+
+ void a() {
+ Date date= new Date(2006, 5, 3);
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testDeclaringMethodBindingUnavailable01_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testDeclaringMethodBindingUnavailable01_out.java
new file mode 100644
index 000000000..ea7812812
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testDeclaringMethodBindingUnavailable01_out.java
@@ -0,0 +1,13 @@
+// 9, 14, 9, 18
+package p;
+import java.util.Date;
+class A {
+ private Date fDate;
+
+ void a() {
+ }
+
+ void a() {
+ fDate= new Date(2006, 5, 3);
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testEnum1_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testEnum1_in.java
new file mode 100644
index 000000000..03cba9a13
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testEnum1_in.java
@@ -0,0 +1,8 @@
+//6, 13, 6, 16
+package p;
+enum A {
+ ONE, TWO();
+ public void f(){
+ int var=0;
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testEnum1_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testEnum1_out.java
new file mode 100644
index 000000000..b84025946
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testEnum1_out.java
@@ -0,0 +1,16 @@
+//6, 13, 6, 16
+package p;
+enum A {
+ ONE, TWO();
+ private final int fVar;
+
+ /**
+ *
+ */
+ A() {
+ fVar= 0;
+ }
+
+ public void f(){
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testEnum2_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testEnum2_in.java
new file mode 100644
index 000000000..1a15a8c9d
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testEnum2_in.java
@@ -0,0 +1,12 @@
+//10, 21, 10, 21
+package p;
+
+class C {
+ enum Member {
+ FIRST, SECOND;
+ }
+ void use() {
+ Member m= Member.SECOND;
+ Member m2= m;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testEnum2_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testEnum2_out.java
new file mode 100644
index 000000000..0abc483f3
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testEnum2_out.java
@@ -0,0 +1,12 @@
+//10, 21, 10, 21
+package p;
+
+class C {
+ public static final Member fM= Member.SECOND;
+ enum Member {
+ FIRST, SECOND;
+ }
+ void use() {
+ Member m2= fM;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testGenerics01_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testGenerics01_in.java
new file mode 100644
index 000000000..b6fe2bc7b
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testGenerics01_in.java
@@ -0,0 +1,12 @@
+//9, 9, 9, 11
+package p;
+
+import java.util.Vector;
+
+class A<T> {
+ void m() {
+ Vector<T> vt= new Vector<T>();
+ vt.clear();
+ vt= new Vector();
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testGenerics01_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testGenerics01_out.java
new file mode 100644
index 000000000..dd7858a74
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testGenerics01_out.java
@@ -0,0 +1,13 @@
+//9, 9, 9, 11
+package p;
+
+import java.util.Vector;
+
+class A<T> {
+ private Vector<T> fVt= new Vector<T>();
+
+ void m() {
+ fVt.clear();
+ fVt= new Vector();
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testGenerics02_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testGenerics02_in.java
new file mode 100644
index 000000000..e9c2e8787
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testGenerics02_in.java
@@ -0,0 +1,8 @@
+//6, 12, 6, 12
+package p;
+
+class A<T> {
+ void m(T arg) {
+ T myT= arg;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testGenerics02_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testGenerics02_out.java
new file mode 100644
index 000000000..cda84708a
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testGenerics02_out.java
@@ -0,0 +1,10 @@
+//6, 12, 6, 12
+package p;
+
+class A<T> {
+ private T fMyT;
+
+ void m(T arg) {
+ fMyT= arg;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testMultiVariableDeclFragment01_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testMultiVariableDeclFragment01_in.java
new file mode 100644
index 000000000..bca101de4
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testMultiVariableDeclFragment01_in.java
@@ -0,0 +1,11 @@
+// 6, 29, 6, 29
+package p;
+class A {
+ void m() {
+ @Ann(value=0)
+ final double/*64*/ a= 0, b= 1, c= 2, d= 3;
+ }
+}
+@interface Ann {
+ int value();
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testMultiVariableDeclFragment01_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testMultiVariableDeclFragment01_out.java
new file mode 100644
index 000000000..0205d476f
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testMultiVariableDeclFragment01_out.java
@@ -0,0 +1,15 @@
+// 6, 29, 6, 29
+package p;
+class A {
+ private double/*64*/ fA;
+
+ void m() {
+ fA= 0;
+ @Ann(value=0)
+ final
+ double/*64*/ b= 1, c= 2, d= 3;
+ }
+}
+@interface Ann {
+ int value();
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testMultiVariableDeclFragment02_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testMultiVariableDeclFragment02_in.java
new file mode 100644
index 000000000..913f7566d
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testMultiVariableDeclFragment02_in.java
@@ -0,0 +1,7 @@
+// 5, 29, 5, 29
+package p;
+class A {
+ void m() {
+ double/*64*/ a= 0, b= 1, c= 2, d= 3;
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testMultiVariableDeclFragment02_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testMultiVariableDeclFragment02_out.java
new file mode 100644
index 000000000..54eaeb92b
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testMultiVariableDeclFragment02_out.java
@@ -0,0 +1,11 @@
+// 5, 29, 5, 29
+package p;
+class A {
+ private double/*64*/ fB;
+
+ void m() {
+ double/*64*/ a= 0;
+ fB= 1;
+ double/*64*/ c= 2, d= 3;
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testMultiVariableDeclFragment03_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testMultiVariableDeclFragment03_in.java
new file mode 100644
index 000000000..0dd685a0e
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testMultiVariableDeclFragment03_in.java
@@ -0,0 +1,7 @@
+// 5, 72, 5, 72
+package p;
+class A {
+ void m() {
+ @Unavailable(/*should implement*/"s")double/*64*/ a= 0, b= 1, c= 2, d= 3;
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testMultiVariableDeclFragment03_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testMultiVariableDeclFragment03_out.java
new file mode 100644
index 000000000..2f1472b94
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testMultiVariableDeclFragment03_out.java
@@ -0,0 +1,12 @@
+// 5, 72, 5, 72
+package p;
+class A {
+ private double/*64*/ fC;
+
+ void m() {
+ @Unavailable(/*should implement*/"s")double/*64*/ a= 0, b= 1;
+ fC= 2;
+ @Unavailable(/*should implement*/"s")
+ double/*64*/ d= 3;
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testMultiVariableDeclFragment04_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testMultiVariableDeclFragment04_in.java
new file mode 100644
index 000000000..8702e25be
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testMultiVariableDeclFragment04_in.java
@@ -0,0 +1,7 @@
+// 5, 41, 5, 41
+package p;
+class A {
+ void m() {
+ double/*64*/ a= 0, b= 1, c= 2, d= 3;
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testMultiVariableDeclFragment04_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testMultiVariableDeclFragment04_out.java
new file mode 100644
index 000000000..fb7e5ef46
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testMultiVariableDeclFragment04_out.java
@@ -0,0 +1,10 @@
+// 5, 41, 5, 41
+package p;
+class A {
+ private double/*64*/ fD;
+
+ void m() {
+ double/*64*/ a= 0, b= 1, c= 2;
+ fD= 3;
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/cannotPromote/A_testFail0.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/cannotPromote/A_testFail0.java
new file mode 100644
index 000000000..501715242
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/cannotPromote/A_testFail0.java
@@ -0,0 +1,5 @@
+package p;
+class A{
+ void f(int i){
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/cannotPromote/A_testFail1.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/cannotPromote/A_testFail1.java
new file mode 100644
index 000000000..1e2327d29
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/cannotPromote/A_testFail1.java
@@ -0,0 +1,8 @@
+package p;
+class A{
+ void f(){
+ try{
+ } catch (Throwable e){
+ }
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/cannotPromote/A_testFail2.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/cannotPromote/A_testFail2.java
new file mode 100644
index 000000000..8e18a3756
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/cannotPromote/A_testFail2.java
@@ -0,0 +1,7 @@
+package p;
+class A{
+ void f(){
+ class Local{}
+ Local l;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/cannotPromote/A_testFail4.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/cannotPromote/A_testFail4.java
new file mode 100644
index 000000000..6beaca75b
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/cannotPromote/A_testFail4.java
@@ -0,0 +1,9 @@
+package p;
+//can't init in constructor - name clash
+class A{
+ A(int i){
+ }
+ void f(){
+ int i= 0;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/cannotPromote/A_testFail5.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/cannotPromote/A_testFail5.java
new file mode 100644
index 000000000..9e9244c2d
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/cannotPromote/A_testFail5.java
@@ -0,0 +1,8 @@
+package p;
+//name clash
+class A{
+ Object i;
+ void f(){
+ int i= 0;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/cannotPromote/A_testFailGenerics1.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/cannotPromote/A_testFailGenerics1.java
new file mode 100644
index 000000000..c004b6838
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/cannotPromote/A_testFailGenerics1.java
@@ -0,0 +1,8 @@
+//6, 12, 6, 12
+package p;
+
+class A {
+ <U> void k(U u) {
+ U you= null;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement0.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement0.java
new file mode 100644
index 000000000..3c97977e3
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement0.java
@@ -0,0 +1,7 @@
+package p;
+//disabled: none
+class A{
+ void f(){
+ int i= 0;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement1.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement1.java
new file mode 100644
index 000000000..b55c0fbca
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement1.java
@@ -0,0 +1,7 @@
+package p;
+//disabled: final, method, field, construcotr
+class A{
+ void f(){
+ int i;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement10.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement10.java
new file mode 100644
index 000000000..e9c2e8787
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement10.java
@@ -0,0 +1,8 @@
+//6, 12, 6, 12
+package p;
+
+class A<T> {
+ void m(T arg) {
+ T myT= arg;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement11.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement11.java
new file mode 100644
index 000000000..6a7a80d2e
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement11.java
@@ -0,0 +1,16 @@
+//6, 21, 6, 27
+package p;
+
+class A {
+ <U extends A> void k(final U u) {
+ Callable<A> target= new Callable<A>() {
+ public A call() throws Exception {
+ return u;
+ }
+ };
+ }
+}
+
+interface Callable<E> {
+ E call() throws Exception;
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement12.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement12.java
new file mode 100644
index 000000000..cb12cb874
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement12.java
@@ -0,0 +1,7 @@
+package p;
+class A{
+ void f(){
+ class Local{}
+ Object l= new Local();
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement13.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement13.java
new file mode 100644
index 000000000..2830bdfba
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement13.java
@@ -0,0 +1,6 @@
+package p;
+class A{
+ void f(){
+ int j=0, i= j;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement2.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement2.java
new file mode 100644
index 000000000..19b4cf76d
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement2.java
@@ -0,0 +1,7 @@
+package p;
+//disabled: method, field, constructor, final
+class A{
+ void f(){
+ int i;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement3.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement3.java
new file mode 100644
index 000000000..24ebd6d31
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement3.java
@@ -0,0 +1,8 @@
+package p;
+//disabled: final
+class A{
+ void f(){
+ int i= 0;
+ i= 1;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement4.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement4.java
new file mode 100644
index 000000000..2ff4177d2
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement4.java
@@ -0,0 +1,7 @@
+package p;
+//disabled: constructor
+class A{
+ A(){
+ int i= 0;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement5.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement5.java
new file mode 100644
index 000000000..02c6bc183
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement5.java
@@ -0,0 +1,11 @@
+package p;
+//disabled: constructor
+class A{
+ void f(){
+ new Object(){
+ void g(){
+ int i= 0;
+ }
+ };
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement6.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement6.java
new file mode 100644
index 000000000..b0eaeb05a
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement6.java
@@ -0,0 +1,11 @@
+package p;
+//disabled: constructor, field, method, final
+class A{
+ void f(){
+ new Object(){
+ void g(){
+ int i;
+ }
+ };
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement7.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement7.java
new file mode 100644
index 000000000..153f4dc1d
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement7.java
@@ -0,0 +1,7 @@
+package p;
+//disabled: construcotor
+class A{
+ static void f(){
+ int i= 0;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement8.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement8.java
new file mode 100644
index 000000000..f90c359c2
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement8.java
@@ -0,0 +1,6 @@
+package p;
+class A {
+ void f(){
+ int i= 0;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement9.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement9.java
new file mode 100644
index 000000000..7c668e73e
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/testEnablement/A_testEnablement9.java
@@ -0,0 +1,9 @@
+package p;
+class A {
+ void f(){
+ int y= 1 +x();
+ }
+ private int x() {
+ return 0;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test0/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test0/in/A.java
new file mode 100644
index 000000000..041a06754
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test0/in/A.java
@@ -0,0 +1,6 @@
+package p;
+class A{
+}
+class B extends A{
+ void m(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test0/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test0/out/A.java
new file mode 100644
index 000000000..0f7c3de11
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test0/out/A.java
@@ -0,0 +1,7 @@
+package p;
+class A{
+
+ void m() {}
+}
+class B extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test1/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test1/in/A.java
new file mode 100644
index 000000000..a678d11f9
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test1/in/A.java
@@ -0,0 +1,7 @@
+package p;
+class A{
+ void x(){}
+}
+class B extends A{
+ protected void m(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test1/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test1/out/A.java
new file mode 100644
index 000000000..5db597f14
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test1/out/A.java
@@ -0,0 +1,8 @@
+package p;
+class A{
+ void x(){}
+
+ protected void m() {}
+}
+class B extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test10/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test10/in/A.java
new file mode 100644
index 000000000..180cd5e58
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test10/in/A.java
@@ -0,0 +1,13 @@
+package p;
+
+class A {
+ protected int j;
+ void a(){}
+}
+
+class B extends A {
+ protected void m() {
+ super.j++;
+ super.j= 0;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test10/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test10/out/A.java
new file mode 100644
index 000000000..1e7bf5b6f
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test10/out/A.java
@@ -0,0 +1,13 @@
+package p;
+
+class A {
+ protected int j;
+ void a(){}
+ protected void m() {
+ this.j++;
+ this.j= 0;
+ }
+}
+
+class B extends A {
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test11/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test11/in/A.java
new file mode 100644
index 000000000..4a683eed6
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test11/in/A.java
@@ -0,0 +1,15 @@
+package p;
+
+class A {
+ int x;
+}
+
+class B extends A {
+ protected void m() {
+ class T extends A{
+ void t(){
+ super.x++;
+ }
+ };
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test11/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test11/out/A.java
new file mode 100644
index 000000000..f9e0fda47
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test11/out/A.java
@@ -0,0 +1,16 @@
+package p;
+
+class A {
+ int x;
+
+ protected void m() {
+ class T extends A{
+ void t(){
+ super.x++;
+ }
+ };
+ }
+}
+
+class B extends A {
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test12/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test12/in/A.java
new file mode 100644
index 000000000..065bec94d
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test12/in/A.java
@@ -0,0 +1,4 @@
+package p;
+class A{
+ void x(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test12/in/B.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test12/in/B.java
new file mode 100644
index 000000000..4b081daa1
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test12/in/B.java
@@ -0,0 +1,6 @@
+package p;
+import java.io.IOException;
+class B extends A{
+ private void m() throws IOException{
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test12/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test12/out/A.java
new file mode 100644
index 000000000..80b2d1d70
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test12/out/A.java
@@ -0,0 +1,10 @@
+package p;
+
+import java.io.IOException;
+
+class A{
+ void x(){}
+
+ private void m() throws IOException {
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test12/out/B.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test12/out/B.java
new file mode 100644
index 000000000..a6f134610
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test12/out/B.java
@@ -0,0 +1,3 @@
+package p;
+class B extends A{
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test13/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test13/in/A.java
new file mode 100644
index 000000000..ac22e50f4
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test13/in/A.java
@@ -0,0 +1,10 @@
+package p;
+
+class A {
+}
+
+class B extends A {
+ protected void m() {
+ new B();
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test13/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test13/out/A.java
new file mode 100644
index 000000000..1b932df6a
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test13/out/A.java
@@ -0,0 +1,11 @@
+package p;
+
+class A {
+
+ protected void m() {
+ new B();
+ }
+}
+
+class B extends A {
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test14/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test14/in/A.java
new file mode 100644
index 000000000..d98c9e006
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test14/in/A.java
@@ -0,0 +1,16 @@
+package p;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class A {
+void g(){
+ g();
+ }
+}
+class B extends A{
+ protected void m(){
+ List l= new ArrayList();
+ l.size();
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test14/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test14/out/A.java
new file mode 100644
index 000000000..c10cb8af1
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test14/out/A.java
@@ -0,0 +1,17 @@
+package p;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class A {
+void g(){
+ g();
+ }
+
+protected void m() {
+ List l= new ArrayList();
+ l.size();
+}
+}
+class B extends A{
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test15/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test15/in/A.java
new file mode 100644
index 000000000..9ddf60ca5
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test15/in/A.java
@@ -0,0 +1,14 @@
+package p;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class A {
+}
+class B extends A{
+ public void f(){}
+ void m(){
+ B b= new B();
+ b.f();
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test15/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test15/out/A.java
new file mode 100644
index 000000000..82595fef7
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test15/out/A.java
@@ -0,0 +1,15 @@
+package p;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class A {
+ protected void m(){
+ B b= new B();
+ b.f();
+ }
+
+}
+class B extends A{
+ public void f(){}
+ }
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test16/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test16/in/A.java
new file mode 100644
index 000000000..571eeedb1
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test16/in/A.java
@@ -0,0 +1,14 @@
+package p;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class A {
+}
+class B extends A{
+ public int j= 0;
+ void m(){
+ B b= new B();
+ b.j= 0;
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test16/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test16/out/A.java
new file mode 100644
index 000000000..4807b3bd0
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test16/out/A.java
@@ -0,0 +1,14 @@
+package p;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class A {
+ void m(){
+ B b= new B();
+ b.j= 0;
+ }
+}
+class B extends A{
+ public int j= 0;
+ }
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test17/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test17/in/A.java
new file mode 100644
index 000000000..1f2875c88
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test17/in/A.java
@@ -0,0 +1,13 @@
+package p;
+
+class A {
+}
+
+class B extends A {
+ void m() {
+ int i= B.ss();
+ }
+ public static int ss() {
+ return 9;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test17/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test17/out/A.java
new file mode 100644
index 000000000..61cb3bd4c
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test17/out/A.java
@@ -0,0 +1,12 @@
+package p;
+
+public class A {
+ protected void m() {
+ int i= B.ss();
+ }
+}
+class B extends A{
+ public static int ss() {
+ return 9;
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test18/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test18/in/A.java
new file mode 100644
index 000000000..35bf67fe6
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test18/in/A.java
@@ -0,0 +1,11 @@
+package p;
+
+class A {
+}
+
+class B extends A {
+ void m() {
+ int i= B.ss;
+ }
+ public static int ss= 8;
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test18/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test18/out/A.java
new file mode 100644
index 000000000..f321e72f5
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test18/out/A.java
@@ -0,0 +1,10 @@
+package p;
+
+public class A {
+ protected void m() {
+ int i= B.ss;
+ }
+}
+class B extends A{
+ public static int ss= 8;
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test19/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test19/in/A.java
new file mode 100644
index 000000000..85e4c696d
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test19/in/A.java
@@ -0,0 +1,17 @@
+package p;
+
+class A {
+ void m() {
+ //implementation
+ }
+}
+
+class C extends A {
+}
+
+class B extends C {
+ void m() {
+ super.m();
+ //further implementation
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test19/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test19/out/A.java
new file mode 100644
index 000000000..8feb07612
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test19/out/A.java
@@ -0,0 +1,18 @@
+package p;
+
+class A {
+ protected void m() {
+ //implementation
+ }
+}
+
+class C extends A {
+
+ void m() {
+ super.m();
+ //further implementation
+ }
+}
+
+class B extends C {
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test2/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test2/in/A.java
new file mode 100644
index 000000000..7c09b1f8e
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test2/in/A.java
@@ -0,0 +1,8 @@
+package p;
+class A{
+ void x(){}
+}
+class B extends A{
+ protected void mmm(){}
+ protected void n(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test2/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test2/out/A.java
new file mode 100644
index 000000000..125f12575
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test2/out/A.java
@@ -0,0 +1,10 @@
+package p;
+class A{
+ void x(){}
+
+ protected void mmm() {}
+
+ protected void n() {}
+}
+class B extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test20/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test20/in/A.java
new file mode 100644
index 000000000..847cc2433
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test20/in/A.java
@@ -0,0 +1,12 @@
+package p;
+
+class A {
+}
+
+class C extends A {
+}
+
+class B extends C {
+ void m() {
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test20/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test20/out/A.java
new file mode 100644
index 000000000..2259d5faa
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test20/out/A.java
@@ -0,0 +1,13 @@
+package p;
+
+class A {
+
+ void m() {
+ }
+}
+
+class C extends A {
+}
+
+class B extends C {
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test21/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test21/in/A.java
new file mode 100644
index 000000000..88d8f200e
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test21/in/A.java
@@ -0,0 +1,13 @@
+package p;
+
+class A {
+}
+
+class C extends A {
+}
+
+class B extends C {
+ void m() {
+ super.toString();
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test21/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test21/out/A.java
new file mode 100644
index 000000000..41cef9886
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test21/out/A.java
@@ -0,0 +1,14 @@
+package p;
+
+class A {
+
+ void m() {
+ super.toString();
+ }
+}
+
+class C extends A {
+}
+
+class B extends C {
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test22/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test22/in/A.java
new file mode 100644
index 000000000..f9a344db7
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test22/in/A.java
@@ -0,0 +1,17 @@
+package p;
+class SuperA{
+ public void m() {
+ }
+}
+class A extends SuperA{
+}
+class B extends A{
+ public void m(){
+ }
+}
+class B1 extends A{
+ public void foo(){
+ A a= null;
+ a.m();
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test22/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test22/out/A.java
new file mode 100644
index 000000000..e88764dc2
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test22/out/A.java
@@ -0,0 +1,18 @@
+package p;
+class SuperA{
+ public void m() {
+ }
+}
+class A extends SuperA{
+
+ public void m() {
+ }
+}
+class B extends A{
+}
+class B1 extends A{
+ public void foo(){
+ A a= null;
+ a.m();
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test23/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test23/in/A.java
new file mode 100644
index 000000000..9c381e086
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test23/in/A.java
@@ -0,0 +1,12 @@
+package p;
+
+class SuperA{
+ void x(){}
+}
+class A extends SuperA{
+}
+class B extends A {
+ public void m() {
+ super.x();
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test23/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test23/out/A.java
new file mode 100644
index 000000000..363624658
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test23/out/A.java
@@ -0,0 +1,13 @@
+package p;
+
+class SuperA{
+ protected void x(){}
+}
+class A extends SuperA{
+
+ public void m() {
+ super.x();
+ }
+}
+class B extends A {
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test24/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test24/in/A.java
new file mode 100644
index 000000000..3682d51a9
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test24/in/A.java
@@ -0,0 +1,8 @@
+package p;
+class A{
+}
+class B extends A{
+ int[] m() throws java.lang.Exception, Throwable{
+ return null;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test24/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test24/out/A.java
new file mode 100644
index 000000000..52640c09f
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test24/out/A.java
@@ -0,0 +1,9 @@
+package p;
+class A{
+
+ int[] m() throws java.lang.Exception, Throwable {
+ return null;
+ }
+}
+class B extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test25/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test25/in/A.java
new file mode 100644
index 000000000..12e437ee3
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test25/in/A.java
@@ -0,0 +1,8 @@
+package p;
+class A{
+}
+class B extends A{
+ int[] m()[] {
+ return null;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test25/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test25/out/A.java
new file mode 100644
index 000000000..614171e80
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test25/out/A.java
@@ -0,0 +1,9 @@
+package p;
+class A{
+
+ int[] m()[] {
+ return null;
+ }
+}
+class B extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test26/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test26/in/A.java
new file mode 100644
index 000000000..b53127f08
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test26/in/A.java
@@ -0,0 +1,8 @@
+package p;
+class A{
+}
+class B extends A{
+ public int[] m()[] {
+ return null;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test26/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test26/out/A.java
new file mode 100644
index 000000000..38da4009e
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test26/out/A.java
@@ -0,0 +1,11 @@
+package p;
+abstract class A{
+
+ public abstract int[] m()[];
+}
+class B extends A{
+ @Override
+ public int[] m()[] {
+ return null;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test27/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test27/in/A.java
new file mode 100644
index 000000000..d63d4c16b
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test27/in/A.java
@@ -0,0 +1,10 @@
+package p;
+class A{
+}
+class B extends A{
+ public int[] m() {
+ return new int[0];
+ }
+}
+class C extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test27/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test27/out/A.java
new file mode 100644
index 000000000..63d86eb1a
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test27/out/A.java
@@ -0,0 +1,20 @@
+package p;
+abstract class A{
+
+ public abstract int[] m();
+}
+class B extends A{
+ @Override
+ public int[] m() {
+ return new int[0];
+ }
+}
+class C extends A{
+
+ /* (non-Javadoc)
+ * @see p.A#m()
+ */
+ public int[] m() {
+ return null;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test28/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test28/in/A.java
new file mode 100644
index 000000000..c2f357f26
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test28/in/A.java
@@ -0,0 +1,7 @@
+package p;
+class A{
+}
+class B extends A{
+ void m() {
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test28/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test28/out/A.java
new file mode 100644
index 000000000..6abe8634b
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test28/out/A.java
@@ -0,0 +1,10 @@
+package p;
+abstract class A{
+
+ protected abstract void m();
+}
+class B extends A{
+ @Override
+ protected void m() {
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test29/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test29/in/A.java
new file mode 100644
index 000000000..36aede0fb
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test29/in/A.java
@@ -0,0 +1,10 @@
+package p;
+class A{
+}
+class B extends A{
+ public boolean m(int[] a) throws Exception {
+ return true;
+ }
+}
+class C extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test29/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test29/out/A.java
new file mode 100644
index 000000000..a73994984
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test29/out/A.java
@@ -0,0 +1,20 @@
+package p;
+abstract class A{
+
+ public abstract boolean m(int[] a) throws Exception;
+}
+class B extends A{
+ @Override
+ public boolean m(int[] a) throws Exception {
+ return true;
+ }
+}
+class C extends A{
+
+ /* (non-Javadoc)
+ * @see p.A#m(int[])
+ */
+ public boolean m(int[] a) throws Exception {
+ return false;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test3/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test3/in/A.java
new file mode 100644
index 000000000..6cce5467a
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test3/in/A.java
@@ -0,0 +1,12 @@
+package p;
+class A{
+ void x(){}
+}
+class B extends A{
+ protected void mmm(){}
+ protected void n(){}
+}
+class C extends A{
+ protected void mmm(){}
+ protected void n(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test3/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test3/out/A.java
new file mode 100644
index 000000000..c960ade6a
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test3/out/A.java
@@ -0,0 +1,12 @@
+package p;
+class A{
+ void x(){}
+
+ protected void mmm() {}
+
+ protected void n() {}
+}
+class B extends A{
+}
+class C extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test30/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test30/in/A.java
new file mode 100644
index 000000000..59349f7bf
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test30/in/A.java
@@ -0,0 +1,10 @@
+package p;
+class A{
+}
+class B extends A{
+ public boolean m(int[] a) throws Exception {
+ return true;
+ }
+}
+abstract class C extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test30/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test30/out/A.java
new file mode 100644
index 000000000..d7620adbf
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test30/out/A.java
@@ -0,0 +1,13 @@
+package p;
+abstract class A{
+
+ public abstract boolean m(int[] a) throws Exception;
+}
+class B extends A{
+ @Override
+ public boolean m(int[] a) throws Exception {
+ return true;
+ }
+}
+abstract class C extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test31/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test31/in/A.java
new file mode 100644
index 000000000..c46054bce
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test31/in/A.java
@@ -0,0 +1,18 @@
+package p;
+class A{
+}
+class B extends A{
+ public boolean m(int[] a) throws Exception {
+ return true;
+ }
+}
+class B1 extends B{
+}
+abstract class C extends A{
+}
+class D extends C{
+}
+class D1 extends C{
+}
+class E extends D{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test31/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test31/out/A.java
new file mode 100644
index 000000000..7ad6e4236
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test31/out/A.java
@@ -0,0 +1,35 @@
+package p;
+abstract class A{
+
+ public abstract boolean m(int[] a) throws Exception;
+}
+class B extends A{
+ @Override
+ public boolean m(int[] a) throws Exception {
+ return true;
+ }
+}
+class B1 extends B{
+}
+abstract class C extends A{
+}
+class D extends C{
+
+ /* (non-Javadoc)
+ * @see p.A#m(int[])
+ */
+ public boolean m(int[] a) throws Exception {
+ return false;
+ }
+}
+class D1 extends C{
+
+ /* (non-Javadoc)
+ * @see p.A#m(int[])
+ */
+ public boolean m(int[] a) throws Exception {
+ return false;
+ }
+}
+class E extends D{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test32/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test32/in/A.java
new file mode 100644
index 000000000..06e63fb17
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test32/in/A.java
@@ -0,0 +1,10 @@
+package p;
+class A{
+}
+class B extends A{
+ public int m() {
+ return 2 +3;
+ }
+}
+class C extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test32/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test32/out/A.java
new file mode 100644
index 000000000..a0a484595
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test32/out/A.java
@@ -0,0 +1,20 @@
+package p;
+abstract class A{
+
+ public abstract int m();
+}
+class B extends A{
+ @Override
+ public int m() {
+ return 2 +3;
+ }
+}
+class C extends A{
+
+ /* (non-Javadoc)
+ * @see p.A#m()
+ */
+ public int m() {
+ return 0;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test33/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test33/in/A.java
new file mode 100644
index 000000000..a395d9279
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test33/in/A.java
@@ -0,0 +1,8 @@
+package p;
+class A{
+}
+abstract class B extends A{
+ public abstract int m();
+}
+class C extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test33/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test33/out/A.java
new file mode 100644
index 000000000..3618cb73c
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test33/out/A.java
@@ -0,0 +1,16 @@
+package p;
+abstract class A{
+
+ public abstract int m();
+}
+abstract class B extends A{
+}
+class C extends A{
+
+ /* (non-Javadoc)
+ * @see p.A#m()
+ */
+ public int m() {
+ return 0;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test34/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test34/in/A.java
new file mode 100644
index 000000000..247219c69
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test34/in/A.java
@@ -0,0 +1,9 @@
+package p;
+class A{
+}
+class B extends A{
+ B(){
+ super();
+ }
+ public void m(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test34/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test34/out/A.java
new file mode 100644
index 000000000..2225704be
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test34/out/A.java
@@ -0,0 +1,12 @@
+package p;
+abstract class A{
+
+ public abstract void m();
+}
+class B extends A{
+ B(){
+ super();
+ }
+ @Override
+ public void m(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test35/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test35/in/A.java
new file mode 100644
index 000000000..1bc8be96a
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test35/in/A.java
@@ -0,0 +1,13 @@
+package p;
+class A{
+ A(int i){
+ this();
+ }
+ A(){}
+}
+class B extends A{
+ B(){
+ super();
+ }
+ public void m(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test35/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test35/out/A.java
new file mode 100644
index 000000000..e272b581f
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test35/out/A.java
@@ -0,0 +1,15 @@
+package p;
+abstract class A{
+ A(int i){
+ this();
+ }
+ A(){}
+ public abstract void m();
+}
+class B extends A{
+ B(){
+ super();
+ }
+ @Override
+ public void m(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test36/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test36/in/A.java
new file mode 100644
index 000000000..a8009c251
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test36/in/A.java
@@ -0,0 +1,11 @@
+package p;
+class A{
+}
+class B extends A{
+ public void m() {
+ }
+}
+class B1 extends A{
+ public void m() {
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test36/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test36/out/A.java
new file mode 100644
index 000000000..9408a78ac
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test36/out/A.java
@@ -0,0 +1,14 @@
+package p;
+abstract class A{
+
+ public abstract void m();
+}
+class B extends A{
+ @Override
+ public void m() {
+ }
+}
+class B1 extends A{
+ public void m() {
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test37/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test37/in/A.java
new file mode 100644
index 000000000..1fdc08c60
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test37/in/A.java
@@ -0,0 +1,10 @@
+package p;
+class A{
+}
+class B extends A{
+ public void m() {
+ f();
+ }
+ public void f(){
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test37/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test37/out/A.java
new file mode 100644
index 000000000..62839078e
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test37/out/A.java
@@ -0,0 +1,14 @@
+package p;
+abstract class A{
+
+ public abstract void f();
+
+ public void m() {
+ f();
+ }
+}
+class B extends A{
+ @Override
+ public void f(){
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test38/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test38/in/A.java
new file mode 100644
index 000000000..02ea52fb6
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test38/in/A.java
@@ -0,0 +1,10 @@
+package p;
+class A{
+}
+class B extends A{
+
+ public static final int A = 0;
+
+ public static void m() {
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test38/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test38/out/A.java
new file mode 100644
index 000000000..88458521b
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test38/out/A.java
@@ -0,0 +1,10 @@
+package p;
+class A{
+
+ public static final int A = 0;
+
+ public static void m() {
+ }
+}
+class B extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test39/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test39/in/A.java
new file mode 100644
index 000000000..933dbaf7e
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test39/in/A.java
@@ -0,0 +1,16 @@
+package p;
+class A{
+}
+class B extends A{
+
+ public static final int A = 0;
+
+ public static void m() {
+ }
+
+ public static class X{
+ }
+
+ public static interface Y{
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test39/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test39/out/A.java
new file mode 100644
index 000000000..ab200e780
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test39/out/A.java
@@ -0,0 +1,16 @@
+package p;
+class A{
+
+ public static final int A = 0;
+
+ public static void m() {
+ }
+
+ public static class X{
+ }
+
+ public static interface Y{
+ }
+}
+class B extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test4/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test4/in/A.java
new file mode 100644
index 000000000..065bec94d
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test4/in/A.java
@@ -0,0 +1,4 @@
+package p;
+class A{
+ void x(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test4/in/B.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test4/in/B.java
new file mode 100644
index 000000000..6d9a716c7
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test4/in/B.java
@@ -0,0 +1,5 @@
+package p;
+import java.util.List;
+class B extends A{
+ protected void m(List l){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test4/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test4/out/A.java
new file mode 100644
index 000000000..440cdf459
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test4/out/A.java
@@ -0,0 +1,9 @@
+package p;
+
+import java.util.List;
+
+class A{
+ void x(){}
+
+ protected void m(List l) {}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test4/out/B.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test4/out/B.java
new file mode 100644
index 000000000..ce146be93
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test4/out/B.java
@@ -0,0 +1,3 @@
+package p;
+class B extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test40/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test40/in/A.java
new file mode 100644
index 000000000..396e97e5e
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test40/in/A.java
@@ -0,0 +1,9 @@
+package p;
+class A{
+ public static void m() {
+ }
+}
+class B extends A{
+ public static void m() {
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test40/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test40/out/A.java
new file mode 100644
index 000000000..06d012aa3
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test40/out/A.java
@@ -0,0 +1,7 @@
+package p;
+class A{
+ public static void m() {
+ }
+}
+class B extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test41/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test41/in/A.java
new file mode 100644
index 000000000..76a19eef8
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test41/in/A.java
@@ -0,0 +1,6 @@
+package p;
+class A{
+}
+class B extends A{
+ int i = 0, j = 1;
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test41/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test41/out/A.java
new file mode 100644
index 000000000..b0177be64
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test41/out/A.java
@@ -0,0 +1,8 @@
+package p;
+class A{
+
+ int i = 0;
+}
+class B extends A{
+ int j = 1;
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test42/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test42/in/A.java
new file mode 100644
index 000000000..76a19eef8
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test42/in/A.java
@@ -0,0 +1,6 @@
+package p;
+class A{
+}
+class B extends A{
+ int i = 0, j = 1;
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test42/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test42/out/A.java
new file mode 100644
index 000000000..a2870a970
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test42/out/A.java
@@ -0,0 +1,8 @@
+package p;
+class A{
+
+ int i = 0;
+ int j = 1;
+}
+class B extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test43/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test43/in/A.java
new file mode 100644
index 000000000..501ca6f41
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test43/in/A.java
@@ -0,0 +1,9 @@
+package p;
+class A{
+}
+class B extends A{
+ /**
+ * comment
+ */
+ void f(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test43/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test43/out/A.java
new file mode 100644
index 000000000..bc542fcfe
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test43/out/A.java
@@ -0,0 +1,10 @@
+package p;
+class A{
+
+ /**
+ * comment
+ */
+ void f() {}
+}
+class B extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test44/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test44/in/A.java
new file mode 100644
index 000000000..e43379cae
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test44/in/A.java
@@ -0,0 +1,18 @@
+package p;
+class A{
+}
+class B extends A{
+
+ public static final int A = 0;
+
+ public static void m() {
+ }
+
+ public enum X{
+ TEST;
+ int f;
+ }
+
+ public static interface Y{
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test44/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test44/out/A.java
new file mode 100644
index 000000000..cc6027d86
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test44/out/A.java
@@ -0,0 +1,18 @@
+package p;
+class A{
+
+ public static final int A = 0;
+
+ public static void m() {
+ }
+
+ public enum X{
+ TEST;
+ int f;
+ }
+
+ public static interface Y{
+ }
+}
+class B extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test45/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test45/in/A.java
new file mode 100644
index 000000000..db1e41f45
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test45/in/A.java
@@ -0,0 +1,17 @@
+package p;
+class A{
+}
+class B extends A{
+
+ public static final int A = 0;
+
+ public static void m() {
+ }
+
+ public static class X{
+ }
+
+ public @interface Y{
+ String name() default "foo";
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test45/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test45/out/A.java
new file mode 100644
index 000000000..6e7e97dd0
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test45/out/A.java
@@ -0,0 +1,17 @@
+package p;
+class A{
+
+ public static final int A = 0;
+
+ public static void m() {
+ }
+
+ public static class X{
+ }
+
+ public @interface Y{
+ String name() default "foo";
+ }
+}
+class B extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test46/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test46/in/A.java
new file mode 100644
index 000000000..073514d28
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test46/in/A.java
@@ -0,0 +1,11 @@
+package p;
+interface A{
+}
+class B implements A {
+
+ public static final int CONST = 0;
+
+ public int getConst() {
+ return CONST;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test46/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test46/out/A.java
new file mode 100644
index 000000000..773bc551f
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test46/out/A.java
@@ -0,0 +1,13 @@
+package p;
+interface A{
+
+ public static final int CONST = 0;
+
+ public int getConst();
+}
+class B implements A {
+
+ public int getConst() {
+ return CONST;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test47/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test47/in/A.java
new file mode 100644
index 000000000..63dea0e07
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test47/in/A.java
@@ -0,0 +1,8 @@
+package p;
+public interface A {
+}
+class B implements A {
+ public final void method() {
+
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test47/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test47/out/A.java
new file mode 100644
index 000000000..68101e50f
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test47/out/A.java
@@ -0,0 +1,10 @@
+package p;
+public interface A {
+
+ public void method();
+}
+class B implements A {
+ public final void method() {
+
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test48/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test48/in/A.java
new file mode 100644
index 000000000..97915e5a3
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test48/in/A.java
@@ -0,0 +1,8 @@
+package p;
+public class A {
+}
+class B extends A {
+ public final void method() {
+
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test48/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test48/out/A.java
new file mode 100644
index 000000000..55e10c1e4
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test48/out/A.java
@@ -0,0 +1,12 @@
+package p;
+public class A {
+
+ public void method() {
+
+ }
+}
+class B extends A {
+ public final void method() {
+
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test49/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test49/in/A.java
new file mode 100644
index 000000000..bf6d9637b
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test49/in/A.java
@@ -0,0 +1,11 @@
+package p;
+class A{
+ void f(int a, int b)
+ {
+ }
+}
+class B extends A{
+ void g() {
+ super.f(1,2);
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test49/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test49/out/A.java
new file mode 100644
index 000000000..4d96f3693
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test49/out/A.java
@@ -0,0 +1,12 @@
+package p;
+class A{
+ void f(int a, int b)
+ {
+ }
+
+ void g() {
+ this.f(1,2);
+ }
+}
+class B extends A{
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test5/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test5/in/A.java
new file mode 100644
index 000000000..065bec94d
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test5/in/A.java
@@ -0,0 +1,4 @@
+package p;
+class A{
+ void x(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test5/in/B.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test5/in/B.java
new file mode 100644
index 000000000..1124d96f5
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test5/in/B.java
@@ -0,0 +1,4 @@
+package p;
+class B extends A{
+ protected void m(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test5/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test5/out/A.java
new file mode 100644
index 000000000..c197fbd11
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test5/out/A.java
@@ -0,0 +1,6 @@
+package p;
+class A{
+ void x(){}
+
+ protected void m() {}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test5/out/B.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test5/out/B.java
new file mode 100644
index 000000000..ce146be93
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test5/out/B.java
@@ -0,0 +1,3 @@
+package p;
+class B extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test6/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test6/in/A.java
new file mode 100644
index 000000000..4d88e03af
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test6/in/A.java
@@ -0,0 +1,11 @@
+package p;
+
+class A {
+ int x;
+}
+
+class B extends A {
+ protected void m() {
+ super.x++;
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test6/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test6/out/A.java
new file mode 100644
index 000000000..9d837d15d
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test6/out/A.java
@@ -0,0 +1,12 @@
+package p;
+
+class A {
+ int x;
+
+ protected void m() {
+ this.x++;
+ }
+}
+
+class B extends A {
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test7/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test7/in/A.java
new file mode 100644
index 000000000..de2a82ff0
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test7/in/A.java
@@ -0,0 +1,11 @@
+package p;
+
+class A {
+ void a(A a){}
+}
+
+class B extends A {
+ protected void m() {
+ a(this);
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test7/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test7/out/A.java
new file mode 100644
index 000000000..31d68e866
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test7/out/A.java
@@ -0,0 +1,12 @@
+package p;
+
+class A {
+ void a(A a){}
+
+ protected void m() {
+ a(this);
+ }
+}
+
+class B extends A {
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test8/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test8/in/A.java
new file mode 100644
index 000000000..fde7237f3
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test8/in/A.java
@@ -0,0 +1,15 @@
+package p;
+
+class A {
+ int x;
+}
+
+class B extends A {
+ public void m() {
+ new B(){
+ void f(){
+ super.x++;
+ }
+ };
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test8/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test8/out/A.java
new file mode 100644
index 000000000..b2275d8df
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test8/out/A.java
@@ -0,0 +1,16 @@
+package p;
+
+class A {
+ int x;
+
+ public void m() {
+ new B(){
+ void f(){
+ super.x++;
+ }
+ };
+ }
+}
+
+class B extends A {
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test9/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test9/in/A.java
new file mode 100644
index 000000000..9d2963fac
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test9/in/A.java
@@ -0,0 +1,12 @@
+package p;
+
+class A {
+ void a(){}
+}
+
+class B extends A {
+ public void m() {
+ super.a();
+ super.a();
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test9/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test9/out/A.java
new file mode 100644
index 000000000..7ccfca4a2
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test9/out/A.java
@@ -0,0 +1,13 @@
+package p;
+
+class A {
+ void a(){}
+
+ public void m() {
+ this.a();
+ this.a();
+ }
+}
+
+class B extends A {
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers0/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers0/in/A.java
new file mode 100644
index 000000000..b023e99c9
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers0/in/A.java
@@ -0,0 +1,7 @@
+package p;
+class A{
+ void x(){}
+}
+class B extends A{
+ protected void m(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers1/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers1/in/A.java
new file mode 100644
index 000000000..a1206596c
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers1/in/A.java
@@ -0,0 +1,7 @@
+package p;
+class A{
+ void x(){}
+}
+class B extends A{
+ protected void m(){ x();}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers10/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers10/in/A.java
new file mode 100644
index 000000000..6717c0a3b
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers10/in/A.java
@@ -0,0 +1,7 @@
+package p;
+class A{
+}
+class B extends A{
+ public static int foo(){return 1;}
+ protected static int m= foo();
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers11/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers11/in/A.java
new file mode 100644
index 000000000..2039533fc
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers11/in/A.java
@@ -0,0 +1,7 @@
+package p;
+class A{
+}
+class B extends A{
+ public static int foo(){return 1;}
+ protected int m= foo();
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers12/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers12/in/A.java
new file mode 100644
index 000000000..77a9a1795
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers12/in/A.java
@@ -0,0 +1,7 @@
+package p;
+class A{
+}
+class B extends A{
+ public int foo(){return 1;}
+ protected int m(){ return foo();}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers2/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers2/in/A.java
new file mode 100644
index 000000000..80f72fb72
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers2/in/A.java
@@ -0,0 +1,8 @@
+package p;
+class A{
+ void x(){}
+}
+class B extends A{
+ void x(){}
+ protected void m(){ x();}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers3/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers3/in/A.java
new file mode 100644
index 000000000..2b77b0873
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers3/in/A.java
@@ -0,0 +1,8 @@
+package p;
+class A{
+ void x(){}
+}
+class B extends A{
+ void y(){}
+ protected void m(){ y();}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers4/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers4/in/A.java
new file mode 100644
index 000000000..61ebcb969
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers4/in/A.java
@@ -0,0 +1,8 @@
+package p;
+class A{
+ void x(){}
+}
+class B extends A{
+ void y(){m();}
+ protected void m(){ y();}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers5/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers5/in/A.java
new file mode 100644
index 000000000..d0e65eae6
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers5/in/A.java
@@ -0,0 +1,8 @@
+package p;
+class A{
+ void x(){}
+}
+class B extends A{
+ int y= m();
+ protected int m(){ return 9;}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers6/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers6/in/A.java
new file mode 100644
index 000000000..0a8008ba9
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers6/in/A.java
@@ -0,0 +1,8 @@
+package p;
+class A{
+ void x(){}
+}
+class B extends A{
+ public int hashCode(){return 1;}
+ protected int m(){ return hashCode();}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers7/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers7/in/A.java
new file mode 100644
index 000000000..8e06ac703
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers7/in/A.java
@@ -0,0 +1,7 @@
+package p;
+class A{
+}
+class B extends A{
+ public int foo(){return 1;}
+ protected static int m(){ return new B().foo();}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers8/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers8/in/A.java
new file mode 100644
index 000000000..c6abedba2
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers8/in/A.java
@@ -0,0 +1,7 @@
+package p;
+class A{
+}
+class B extends A{
+ public static int foo(){return 1;}
+ protected static int m(){ return foo();}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers9/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers9/in/A.java
new file mode 100644
index 000000000..fdd816daa
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testAddingRequiredMembers9/in/A.java
@@ -0,0 +1,7 @@
+package p;
+class A{
+}
+class B extends A{
+ public int foo(){return 1;}
+ protected static int m= new B().foo();
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement0/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement0/in/A.java
new file mode 100644
index 000000000..501ca6f41
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement0/in/A.java
@@ -0,0 +1,9 @@
+package p;
+class A{
+}
+class B extends A{
+ /**
+ * comment
+ */
+ void f(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement1/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement1/in/A.java
new file mode 100644
index 000000000..5aa988ad1
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement1/in/A.java
@@ -0,0 +1,12 @@
+package p;
+class A{
+}
+class D extends A{
+ void f(){}
+}
+class B extends A{
+ /**
+ * comment
+ */
+ void f(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement10/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement10/in/A.java
new file mode 100644
index 000000000..4071f3789
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement10/in/A.java
@@ -0,0 +1,11 @@
+package p;
+class A<T>{
+}
+class Outer{
+ class B extends A<T>{
+ /**
+ * comment
+ */
+ void f(){}
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement11/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement11/in/A.java
new file mode 100644
index 000000000..ad3481606
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement11/in/A.java
@@ -0,0 +1,11 @@
+package p;
+class A<T>{
+}
+class Outer{
+ class B extends A<String>{
+ /**
+ * comment
+ */
+ void f(){}
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement12/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement12/in/A.java
new file mode 100644
index 000000000..c665f75c3
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement12/in/A.java
@@ -0,0 +1,11 @@
+package p;
+class A<T>{
+}
+class Outer<S>{
+ class B extends A<S>{
+ /**
+ * comment
+ */
+ void f(){}
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement13/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement13/in/A.java
new file mode 100644
index 000000000..20dfefb7b
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement13/in/A.java
@@ -0,0 +1,12 @@
+package p;
+class A<T>{
+}
+class D extends A<Object>{
+ void f(){}
+}
+class B extends A<String>{
+ /**
+ * comment
+ */
+ void f(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement14/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement14/in/A.java
new file mode 100644
index 000000000..3825fd614
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement14/in/A.java
@@ -0,0 +1,12 @@
+package p;
+class A<S>{
+}
+class D extends A<String{
+ void f(){}
+}
+class B<T> extends A<T>{
+ /**
+ * comment
+ */
+ void f(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement15/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement15/in/A.java
new file mode 100644
index 000000000..d6a3a2620
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement15/in/A.java
@@ -0,0 +1,12 @@
+package p;
+class A{
+}
+class D<T> extends A{
+ void f(){}
+}
+class B<S> extends A{
+ /**
+ * comment
+ */
+ void f(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement16/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement16/in/A.java
new file mode 100644
index 000000000..48d9ac70f
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement16/in/A.java
@@ -0,0 +1,12 @@
+package p;
+class A<? extends Object>{
+}
+class D<S> extends A<S>{
+ void f(){}
+}
+class B extends A<String>{
+ /**
+ * comment
+ */
+ void f(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement17/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement17/in/A.java
new file mode 100644
index 000000000..88e60c6ad
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement17/in/A.java
@@ -0,0 +1,9 @@
+package p;
+class A<S>{
+}
+class B<T> extends A<String>{
+ /**
+ * comment
+ */
+ void f(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement18/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement18/in/A.java
new file mode 100644
index 000000000..53ac10f5c
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement18/in/A.java
@@ -0,0 +1,9 @@
+package p;
+class A{
+}
+class B<T> extends A{
+ /**
+ * comment
+ */
+ void f(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement19/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement19/in/A.java
new file mode 100644
index 000000000..2b215d284
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement19/in/A.java
@@ -0,0 +1,9 @@
+package p;
+class A<S>{
+}
+class B<S> extends A<S>{
+ /**
+ * comment
+ */
+ void f(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement2/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement2/in/A.java
new file mode 100644
index 000000000..850e580ea
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement2/in/A.java
@@ -0,0 +1,11 @@
+package p;
+class A{
+}
+class Outer{
+ class B extends A{
+ /**
+ * comment
+ */
+ void f(){}
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement20/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement20/in/A.java
new file mode 100644
index 000000000..7143ee727
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement20/in/A.java
@@ -0,0 +1,9 @@
+package p;
+class A<S>{
+}
+class B<S,T> extends A<S>{
+ /**
+ * comment
+ */
+ void f(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement21/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement21/in/A.java
new file mode 100644
index 000000000..8d72629f6
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement21/in/A.java
@@ -0,0 +1,9 @@
+package p;
+class A<S>{
+}
+class B<S,T> extends A<S>{
+ /**
+ * comment
+ */
+ void f(S s){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement22/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement22/in/A.java
new file mode 100644
index 000000000..38ae00d95
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement22/in/A.java
@@ -0,0 +1,9 @@
+package p;
+class A<S>{
+}
+class B<S,T> extends A<S>{
+ /**
+ * comment
+ */
+ void f(T t){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement23/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement23/in/A.java
new file mode 100644
index 000000000..b9ff2c52a
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement23/in/A.java
@@ -0,0 +1,10 @@
+package p;
+class A<S>{
+ S s;
+}
+class B<S,T> extends A<S>{
+ /**
+ * comment
+ */
+ S f(T t){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement24/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement24/in/A.java
new file mode 100644
index 000000000..c2355f880
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement24/in/A.java
@@ -0,0 +1,10 @@
+package p;
+class A<S>{
+ S s;
+}
+class B<S,T> extends A<S>{
+ /**
+ * comment
+ */
+ String f(S s, T t){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement3/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement3/in/A.java
new file mode 100644
index 000000000..9474bd665
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement3/in/A.java
@@ -0,0 +1,5 @@
+package p;
+class A{
+}
+class B extends A{
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement4/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement4/in/A.java
new file mode 100644
index 000000000..ee80865b3
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement4/in/A.java
@@ -0,0 +1,5 @@
+package p;
+class A{
+}
+class B<T> extends A{
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement5/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement5/in/A.java
new file mode 100644
index 000000000..e8ccc479b
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement5/in/A.java
@@ -0,0 +1,5 @@
+package p;
+class A{
+}
+class B<String> extends A{
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement6/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement6/in/A.java
new file mode 100644
index 000000000..a3b300e9c
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement6/in/A.java
@@ -0,0 +1,5 @@
+package p;
+class A<T>{
+}
+class B<T> extends A<T>{
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement7/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement7/in/A.java
new file mode 100644
index 000000000..22da73b0d
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement7/in/A.java
@@ -0,0 +1,5 @@
+package p;
+class A<T>{
+}
+class B extends A<String>{
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement8/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement8/in/A.java
new file mode 100644
index 000000000..d2f4a55d3
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement8/in/A.java
@@ -0,0 +1,11 @@
+package p;
+class A{
+}
+class Outer<T>{
+ class B<T> extends A{
+ /**
+ * comment
+ */
+ void f(){}
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement9/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement9/in/A.java
new file mode 100644
index 000000000..262ded8cb
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testEnablement9/in/A.java
@@ -0,0 +1,11 @@
+package p;
+class A<T>{
+}
+class Outer<T>{
+ class B<T> extends A<T>{
+ /**
+ * comment
+ */
+ void f(){}
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail0/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail0/in/A.java
new file mode 100644
index 000000000..23fadf340
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail0/in/A.java
@@ -0,0 +1,10 @@
+package p;
+
+class A {
+ int x;
+}
+
+class B extends A{
+ int x;
+ void m() { x++; }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail1/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail1/in/A.java
new file mode 100644
index 000000000..b382d6f1b
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail1/in/A.java
@@ -0,0 +1,12 @@
+package p;
+
+class A {
+ void a(A a){}
+ void a(B b){}
+}
+
+class B extends A {
+ void m() {
+ a(this);
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail10/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail10/in/A.java
new file mode 100644
index 000000000..9e3b26c43
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail10/in/A.java
@@ -0,0 +1,8 @@
+package p;
+
+class B extends A {
+ private int a;
+ void m() {
+ a++;
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail10/in/B.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail10/in/B.java
new file mode 100644
index 000000000..df913df1a
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail10/in/B.java
@@ -0,0 +1,8 @@
+package p;
+
+class B extends A {
+ int a;
+ void m() {
+ a++;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail11/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail11/in/A.java
new file mode 100644
index 000000000..8b7d8d5d8
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail11/in/A.java
@@ -0,0 +1,4 @@
+package p;
+
+class A {
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail11/in/B.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail11/in/B.java
new file mode 100644
index 000000000..75a13a0e4
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail11/in/B.java
@@ -0,0 +1,8 @@
+package p;
+
+class B extends A {
+ class P{};
+ void m() {
+ P p= new P();
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail12/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail12/in/A.java
new file mode 100644
index 000000000..33bf30bf2
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail12/in/A.java
@@ -0,0 +1,6 @@
+package p;
+
+class A {
+ void a(A a){}
+ void a(B b){}
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail12/in/B.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail12/in/B.java
new file mode 100644
index 000000000..9412a56f3
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail12/in/B.java
@@ -0,0 +1,7 @@
+package p;
+
+class B extends A {
+ void m() {
+ a(this);
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail13/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail13/in/A.java
new file mode 100644
index 000000000..9d6c2c9ca
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail13/in/A.java
@@ -0,0 +1,13 @@
+package p;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class A {
+}
+class B extends A{
+ public void f(){}
+ void m(){
+ f();
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail14/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail14/in/A.java
new file mode 100644
index 000000000..bdee4cc2a
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail14/in/A.java
@@ -0,0 +1,9 @@
+package p;
+class Bar {
+}
+
+public class A extends Bar {
+ private static class Quux {}
+ public void m() {}
+}
+
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail15/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail15/in/A.java
new file mode 100644
index 000000000..ec792223e
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail15/in/A.java
@@ -0,0 +1,13 @@
+package p;
+class A{}
+class C1 extends A{
+ public String toString(){
+ return null;
+ }
+}
+class B extends C1 {
+ public void m() {
+ super.toString();
+ }
+}
+
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail16/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail16/in/A.java
new file mode 100644
index 000000000..1e822c97b
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail16/in/A.java
@@ -0,0 +1,11 @@
+package p;
+class A{}
+class C1 extends A{
+ public void m() {
+ }
+}
+class B extends C1 {
+ public void m() {
+ }
+}
+
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail17/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail17/in/A.java
new file mode 100644
index 000000000..dba9d4953
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail17/in/A.java
@@ -0,0 +1,19 @@
+package p;
+class A{
+ public void m() {
+ }
+}
+class C2 extends A{
+}
+class C1 extends C2{
+}
+class B extends C1 {
+ public void m() {
+ }
+}
+class B1 extends C1{
+ public void foo() {
+ m();//if you move B.m() to C2 this will result in a different call
+ }
+}
+
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail18/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail18/in/A.java
new file mode 100644
index 000000000..d33e6c5ca
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail18/in/A.java
@@ -0,0 +1,16 @@
+package p;
+class SuperA{
+ public void m() {
+ }
+}
+class A extends SuperA{
+}
+class B extends A{
+ public void m(){
+ }
+}
+class B1 extends A{
+ public void foo(){
+ m();//if you move B.m() to A this will result in a different call
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail19/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail19/in/A.java
new file mode 100644
index 000000000..4e429c3d7
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail19/in/A.java
@@ -0,0 +1,11 @@
+package p;
+class A{}
+class C1 extends A{
+ public int a= 0;
+}
+class B extends C1 {
+ public void m() {
+ super.a = 1;
+ }
+}
+
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail2/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail2/in/A.java
new file mode 100644
index 000000000..6a2f9f24b
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail2/in/A.java
@@ -0,0 +1,11 @@
+package p;
+
+class A {
+}
+
+class B extends A {
+ void m() {
+ a();
+ }
+ private void a(){}
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail20/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail20/in/A.java
new file mode 100644
index 000000000..86c595589
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail20/in/A.java
@@ -0,0 +1,9 @@
+package p;
+class A{}
+class B extends A{
+ public void m() {
+ }
+ void f(){
+ A a= new A();
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail21/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail21/in/A.java
new file mode 100644
index 000000000..202a8c935
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail21/in/A.java
@@ -0,0 +1,11 @@
+package p;
+class A{
+ A(){}
+}
+class B extends A{
+ public void m() {
+ }
+ void f(){
+ A a= new A();
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail22/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail22/in/A.java
new file mode 100644
index 000000000..cc2bdddad
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail22/in/A.java
@@ -0,0 +1,14 @@
+package p;
+class A{
+ A(int i){}
+}
+class B extends A{
+ B(){
+ super(3);
+ }
+ public void m() {
+ }
+ void f(){
+ A a= new A(4);
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail23/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail23/in/A.java
new file mode 100644
index 000000000..275728c63
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail23/in/A.java
@@ -0,0 +1,10 @@
+package p;
+class A{}
+class B extends A{
+ public void m() {
+ }
+}
+class B1 extends A{
+ private void m() {
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail24/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail24/in/A.java
new file mode 100644
index 000000000..da0119049
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail24/in/A.java
@@ -0,0 +1,11 @@
+package p;
+class A{}
+class B extends A{
+ public void m() {
+ }
+}
+class B1 extends A{
+ public int m() {
+ return 1;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail25/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail25/in/A.java
new file mode 100644
index 000000000..ca69911e8
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail25/in/A.java
@@ -0,0 +1,9 @@
+package p;
+
+public class A {
+ class Test{}
+}
+class B extends A{
+ public static class Test {
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail26/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail26/in/A.java
new file mode 100644
index 000000000..6317af704
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail26/in/A.java
@@ -0,0 +1,10 @@
+package p;
+
+class Test{
+ static class A {
+ }
+}
+class B extends Test.A{
+ public static class Test {
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail27/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail27/in/A.java
new file mode 100644
index 000000000..2e0c50b7d
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail27/in/A.java
@@ -0,0 +1,9 @@
+package p;
+
+class A {
+
+}
+class B extends A{
+ public static class A {
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail28/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail28/in/A.java
new file mode 100644
index 000000000..5c99ac216
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail28/in/A.java
@@ -0,0 +1,13 @@
+package p;
+
+class Super{
+ static class A {
+ }
+}
+class B extends Super.A{
+ public static class Test {
+ static class X{
+ class Super{}
+ }
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail29/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail29/in/A.java
new file mode 100644
index 000000000..d0bd4a350
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail29/in/A.java
@@ -0,0 +1,14 @@
+package p;
+
+public class A {
+ private int stop() {
+ return 2;
+ }
+}
+
+class B extends A {
+ public void stop() //<-- pull up this method
+ {
+ System.out.println("pulled up!");
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail3/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail3/in/A.java
new file mode 100644
index 000000000..fbcea3abb
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail3/in/A.java
@@ -0,0 +1,11 @@
+package p;
+
+class A {
+}
+
+class B extends A {
+ private int a;
+ void m() {
+ a++;
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail4/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail4/in/A.java
new file mode 100644
index 000000000..56e7c9f16
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail4/in/A.java
@@ -0,0 +1,11 @@
+package p;
+
+class A {
+}
+
+class B extends A {
+ private class P{};
+ void m() {
+ P p= new P();
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail5/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail5/in/A.java
new file mode 100644
index 000000000..aed7a46a9
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail5/in/A.java
@@ -0,0 +1,14 @@
+package p;
+
+class A {
+}
+
+class B extends A {
+ void m() {
+ }
+}
+
+class C extends A {
+ void m() {
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail6/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail6/in/A.java
new file mode 100644
index 000000000..8b7d8d5d8
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail6/in/A.java
@@ -0,0 +1,4 @@
+package p;
+
+class A {
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail6/in/B.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail6/in/B.java
new file mode 100644
index 000000000..658755a18
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail6/in/B.java
@@ -0,0 +1,8 @@
+package p;
+
+class B extends A {
+ void m() {
+ a();
+ }
+ private void a(){}
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail7/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail7/in/A.java
new file mode 100644
index 000000000..9e3b26c43
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail7/in/A.java
@@ -0,0 +1,8 @@
+package p;
+
+class B extends A {
+ private int a;
+ void m() {
+ a++;
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail7/in/B.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail7/in/B.java
new file mode 100644
index 000000000..c9cedc124
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail7/in/B.java
@@ -0,0 +1,8 @@
+package p;
+
+class B extends A {
+ private int a;
+ void m() {
+ a++;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail8/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail8/in/A.java
new file mode 100644
index 000000000..8b7d8d5d8
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail8/in/A.java
@@ -0,0 +1,4 @@
+package p;
+
+class A {
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail8/in/B.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail8/in/B.java
new file mode 100644
index 000000000..f2f83c463
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail8/in/B.java
@@ -0,0 +1,8 @@
+package p;
+
+class B extends A {
+ private class P{};
+ void m() {
+ P p= new P();
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail9/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail9/in/A.java
new file mode 100644
index 000000000..8b7d8d5d8
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail9/in/A.java
@@ -0,0 +1,4 @@
+package p;
+
+class A {
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail9/in/B.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail9/in/B.java
new file mode 100644
index 000000000..81440e612
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFail9/in/B.java
@@ -0,0 +1,8 @@
+package p;
+
+class B extends A {
+ void m() {
+ a();
+ }
+ void a(){}
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFailTemplate/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFailTemplate/in/A.java
new file mode 100644
index 000000000..ff4381d5b
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFailTemplate/in/A.java
@@ -0,0 +1 @@
+package p;
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testField0/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testField0/in/A.java
new file mode 100644
index 000000000..e5ad4e270
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testField0/in/A.java
@@ -0,0 +1,6 @@
+package p;
+class A{
+}
+class B extends A{
+ int i;
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testField0/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testField0/out/A.java
new file mode 100644
index 000000000..4123128aa
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testField0/out/A.java
@@ -0,0 +1,7 @@
+package p;
+class A{
+
+ int i;
+}
+class B extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFieldFail0/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFieldFail0/in/A.java
new file mode 100644
index 000000000..924c59ab5
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFieldFail0/in/A.java
@@ -0,0 +1,9 @@
+package p;
+
+class A {
+ int x;
+}
+
+class B extends A{
+ int x;
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFieldFail1/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFieldFail1/in/A.java
new file mode 100644
index 000000000..f3a8c65f5
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFieldFail1/in/A.java
@@ -0,0 +1,12 @@
+package p;
+
+class A {
+}
+
+class B extends A{
+ int x;
+}
+class C extends A{
+ boolean x;
+}
+
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFieldFail2/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFieldFail2/in/A.java
new file mode 100644
index 000000000..b12c71d56
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFieldFail2/in/A.java
@@ -0,0 +1,9 @@
+package p;
+class A{}
+class C1 extends A{
+ public int f= 0;
+}
+class B extends C1 {
+ public int f= 0;
+}
+
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFieldMethod0/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFieldMethod0/in/A.java
new file mode 100644
index 000000000..eb9e7091c
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFieldMethod0/in/A.java
@@ -0,0 +1,11 @@
+package p;
+
+class A {
+}
+
+class B extends A {
+ void m() {
+ int i= f;
+ }
+ int f;
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFieldMethod0/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFieldMethod0/out/A.java
new file mode 100644
index 000000000..36cdc155e
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFieldMethod0/out/A.java
@@ -0,0 +1,13 @@
+package p;
+
+class A {
+
+ void m() {
+ int i= f;
+ }
+
+ int f;
+}
+
+class B extends A {
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics0/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics0/in/A.java
new file mode 100644
index 000000000..ca4d12691
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics0/in/A.java
@@ -0,0 +1,6 @@
+package p;
+class A<T>{
+}
+class B<T> extends A<T>{
+ void m(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics0/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics0/out/A.java
new file mode 100644
index 000000000..f919b42f6
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics0/out/A.java
@@ -0,0 +1,7 @@
+package p;
+class A<T>{
+
+ void m() {}
+}
+class B<T> extends A<T>{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics1/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics1/in/A.java
new file mode 100644
index 000000000..fe13921fe
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics1/in/A.java
@@ -0,0 +1,7 @@
+package p;
+class A<T>{
+ void x(){}
+}
+class B<T> extends A<String>{
+ protected void m(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics1/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics1/out/A.java
new file mode 100644
index 000000000..c6cba72a7
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics1/out/A.java
@@ -0,0 +1,8 @@
+package p;
+class A<T>{
+ void x(){}
+
+ protected void m() {}
+}
+class B<T> extends A<String>{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics10/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics10/in/A.java
new file mode 100644
index 000000000..a1455f14f
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics10/in/A.java
@@ -0,0 +1,13 @@
+package p;
+
+class A<T> {
+ protected int j;
+ void a(T t){}
+}
+
+class B extends A<Object> {
+ protected void m() {
+ super.j++;
+ super.j= 0;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics10/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics10/out/A.java
new file mode 100644
index 000000000..388ae174e
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics10/out/A.java
@@ -0,0 +1,13 @@
+package p;
+
+class A<T> {
+ protected int j;
+ void a(T t){}
+ protected void m() {
+ this.j++;
+ this.j= 0;
+ }
+}
+
+class B extends A<Object> {
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics11/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics11/in/A.java
new file mode 100644
index 000000000..c43248f66
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics11/in/A.java
@@ -0,0 +1,15 @@
+package p;
+
+class A<X> {
+ int x;
+}
+
+class B<X> extends A<X> {
+ protected void m() {
+ class T<X> extends A<X>{
+ void t(){
+ super.x++;
+ }
+ };
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics11/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics11/out/A.java
new file mode 100644
index 000000000..2b03da685
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics11/out/A.java
@@ -0,0 +1,16 @@
+package p;
+
+class A<X> {
+ int x;
+
+ protected void m() {
+ class T<X> extends A<X>{
+ void t(){
+ super.x++;
+ }
+ };
+ }
+}
+
+class B<X> extends A<X> {
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics12/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics12/in/A.java
new file mode 100644
index 000000000..51425a706
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics12/in/A.java
@@ -0,0 +1,4 @@
+package p;
+class A<T>{
+ void x(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics12/in/B.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics12/in/B.java
new file mode 100644
index 000000000..edbe66906
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics12/in/B.java
@@ -0,0 +1,6 @@
+package p;
+import java.io.IOException;
+class B<T> extends A<T>{
+ private void m(T t) throws IOException{
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics12/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics12/out/A.java
new file mode 100644
index 000000000..8820ddf88
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics12/out/A.java
@@ -0,0 +1,10 @@
+package p;
+
+import java.io.IOException;
+
+class A<T>{
+ void x(){}
+
+ private void m(T t) throws IOException {
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics12/out/B.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics12/out/B.java
new file mode 100644
index 000000000..595066ca3
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics12/out/B.java
@@ -0,0 +1,3 @@
+package p;
+class B<T> extends A<T>{
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics13/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics13/in/A.java
new file mode 100644
index 000000000..1b31b2d25
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics13/in/A.java
@@ -0,0 +1,10 @@
+package p;
+
+class A {
+}
+
+class B extends A {
+ protected void m() {
+ new B();
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics13/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics13/out/A.java
new file mode 100644
index 000000000..d96b2fe31
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics13/out/A.java
@@ -0,0 +1,11 @@
+package p;
+
+class A {
+
+ protected void m() {
+ new B();
+ }
+}
+
+class B extends A {
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics14/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics14/in/A.java
new file mode 100644
index 000000000..bc2a5976a
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics14/in/A.java
@@ -0,0 +1,16 @@
+package p;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class A {
+void g(){
+ g();
+ }
+}
+class B extends A{
+ protected void m(){
+ List l= new ArrayList();
+ l.size();
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics14/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics14/out/A.java
new file mode 100644
index 000000000..03dd6fa16
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics14/out/A.java
@@ -0,0 +1,17 @@
+package p;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class A {
+void g(){
+ g();
+ }
+
+protected void m() {
+ List l= new ArrayList();
+ l.size();
+}
+}
+class B extends A{
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics15/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics15/in/A.java
new file mode 100644
index 000000000..85e4c696d
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics15/in/A.java
@@ -0,0 +1,17 @@
+package p;
+
+class A {
+ void m() {
+ //implementation
+ }
+}
+
+class C extends A {
+}
+
+class B extends C {
+ void m() {
+ super.m();
+ //further implementation
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics15/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics15/out/A.java
new file mode 100644
index 000000000..8feb07612
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics15/out/A.java
@@ -0,0 +1,18 @@
+package p;
+
+class A {
+ protected void m() {
+ //implementation
+ }
+}
+
+class C extends A {
+
+ void m() {
+ super.m();
+ //further implementation
+ }
+}
+
+class B extends C {
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics2/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics2/in/A.java
new file mode 100644
index 000000000..c29baeea2
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics2/in/A.java
@@ -0,0 +1,8 @@
+package p;
+class A<S>{
+ void x(){}
+}
+class B<T> extends A<T>{
+ protected void mmm(T t){}
+ protected void n(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics2/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics2/out/A.java
new file mode 100644
index 000000000..e2d6c3d66
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics2/out/A.java
@@ -0,0 +1,10 @@
+package p;
+class A<S>{
+ void x(){}
+
+ protected void mmm(S t) {}
+
+ protected void n() {}
+}
+class B<T> extends A<T>{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics3/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics3/in/A.java
new file mode 100644
index 000000000..44124decb
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics3/in/A.java
@@ -0,0 +1,12 @@
+package p;
+class A<X>{
+ void x(){}
+}
+class B<T> extends A<T>{
+ protected void mmm(T t){}
+ protected void n(){}
+}
+class C<S> extends A<S>{
+ protected void mmm(S s){}
+ protected void n(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics3/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics3/out/A.java
new file mode 100644
index 000000000..20a77f5d5
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics3/out/A.java
@@ -0,0 +1,13 @@
+package p;
+class A<X>{
+ void x(){}
+
+ protected void mmm(X t) {}
+
+ protected void n() {}
+}
+class B<T> extends A<T>{
+}
+class C<S> extends A<S>{
+ protected void mmm(S s){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics4/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics4/in/A.java
new file mode 100644
index 000000000..51425a706
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics4/in/A.java
@@ -0,0 +1,4 @@
+package p;
+class A<T>{
+ void x(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics4/in/B.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics4/in/B.java
new file mode 100644
index 000000000..57b998b94
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics4/in/B.java
@@ -0,0 +1,5 @@
+package p;
+import java.util.List;
+class B<T> extends A<T>{
+ protected void m(List<T> l){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics4/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics4/out/A.java
new file mode 100644
index 000000000..3f8b7d8b5
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics4/out/A.java
@@ -0,0 +1,7 @@
+package p;
+import java.util.List;
+class A<T>{
+ void x(){}
+
+ protected void m(List<T> l) {}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics4/out/B.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics4/out/B.java
new file mode 100644
index 000000000..2173b6ccd
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics4/out/B.java
@@ -0,0 +1,3 @@
+package p;
+class B<T> extends A<T>{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics5/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics5/in/A.java
new file mode 100644
index 000000000..6181dfdda
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics5/in/A.java
@@ -0,0 +1,4 @@
+package p;
+class A<T>{
+ void x(T t){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics5/in/B.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics5/in/B.java
new file mode 100644
index 000000000..eef29da45
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics5/in/B.java
@@ -0,0 +1,4 @@
+package p;
+class B<S> extends A<S>{
+ protected void m(S s){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics5/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics5/out/A.java
new file mode 100644
index 000000000..94d82a8f0
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics5/out/A.java
@@ -0,0 +1,6 @@
+package p;
+class A<T>{
+ void x(T t){}
+
+ protected void m(T s) {}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics5/out/B.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics5/out/B.java
new file mode 100644
index 000000000..15b4326f8
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics5/out/B.java
@@ -0,0 +1,3 @@
+package p;
+class B<S> extends A<S>{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics6/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics6/in/A.java
new file mode 100644
index 000000000..4a1149dbc
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics6/in/A.java
@@ -0,0 +1,11 @@
+package p;
+
+class A<S> {
+ int x;
+}
+
+class B<T> extends A<String> {
+ protected void m() {
+ super.x++;
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics6/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics6/out/A.java
new file mode 100644
index 000000000..4ebadeb72
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics6/out/A.java
@@ -0,0 +1,12 @@
+package p;
+
+class A<S> {
+ int x;
+
+ protected void m() {
+ this.x++;
+ }
+}
+
+class B<T> extends A<String> {
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics7/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics7/in/A.java
new file mode 100644
index 000000000..d5511ac04
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics7/in/A.java
@@ -0,0 +1,11 @@
+package p;
+
+class A<T> {
+ void a(A<T> a){}
+}
+
+class B<T> extends A<T> {
+ protected void m() {
+ a(this);
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics7/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics7/out/A.java
new file mode 100644
index 000000000..9d6f74429
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics7/out/A.java
@@ -0,0 +1,12 @@
+package p;
+
+class A<T> {
+ void a(A<T> a){}
+
+ protected void m() {
+ a(this);
+ }
+}
+
+class B<T> extends A<T> {
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics8/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics8/in/A.java
new file mode 100644
index 000000000..a8bedec32
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics8/in/A.java
@@ -0,0 +1,15 @@
+package p;
+
+class A {
+ int x;
+}
+
+class B<T> extends A {
+ public void m() {
+ new B<String>(){
+ void f(){
+ super.x++;
+ }
+ };
+ }
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics8/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics8/out/A.java
new file mode 100644
index 000000000..935737e3b
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics8/out/A.java
@@ -0,0 +1,16 @@
+package p;
+
+class A {
+ int x;
+
+ public void m() {
+ new B<String>(){
+ void f(){
+ super.x++;
+ }
+ };
+ }
+}
+
+class B<T> extends A {
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics9/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics9/in/A.java
new file mode 100644
index 000000000..e43c71c5a
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics9/in/A.java
@@ -0,0 +1,12 @@
+package p;
+
+class A<T> {
+ void a(T t){}
+}
+
+class B extends A<String> {
+ public void m() {
+ super.a(null);
+ super.a(new String());
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics9/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics9/out/A.java
new file mode 100644
index 000000000..87c4ba5b8
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenerics9/out/A.java
@@ -0,0 +1,13 @@
+package p;
+
+class A<T> {
+ void a(T t){}
+
+ public void m() {
+ this.a(null);
+ this.a(new String());
+ }
+}
+
+class B extends A<String> {
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenericsFail0/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenericsFail0/in/A.java
new file mode 100644
index 000000000..40c186c1f
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenericsFail0/in/A.java
@@ -0,0 +1,9 @@
+package p;
+
+class A {
+
+}
+
+class B<T> extends A{
+ void m(T t) {}
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenericsFail1/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenericsFail1/in/A.java
new file mode 100644
index 000000000..5a3acc861
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenericsFail1/in/A.java
@@ -0,0 +1,11 @@
+package p;
+
+class A<S> {
+}
+
+class B<T,S> extends A<T> {
+ void m(S s) {
+ a();
+ }
+ private void a(){}
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenericsFail2/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenericsFail2/in/A.java
new file mode 100644
index 000000000..bde2dbdd4
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testGenericsFail2/in/A.java
@@ -0,0 +1,11 @@
+package p;
+
+class A<S> {
+}
+
+class B<T,S> extends A<String> {
+ void m(T t) {
+ a();
+ }
+ private void a(){}
+}
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testStaticImports0/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testStaticImports0/in/A.java
new file mode 100644
index 000000000..6181dfdda
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testStaticImports0/in/A.java
@@ -0,0 +1,4 @@
+package p;
+class A<T>{
+ void x(T t){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testStaticImports0/in/B.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testStaticImports0/in/B.java
new file mode 100644
index 000000000..0c0426058
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testStaticImports0/in/B.java
@@ -0,0 +1,5 @@
+package p;
+import static java.lang.Math.E;
+class B<S> extends A<S>{
+ protected void m(S s){double e= E;}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testStaticImports0/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testStaticImports0/out/A.java
new file mode 100644
index 000000000..c1e5381d0
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testStaticImports0/out/A.java
@@ -0,0 +1,9 @@
+package p;
+
+import static java.lang.Math.E;
+
+class A<T>{
+ void x(T t){}
+
+ protected void m(T s) {double e= E;}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testStaticImports0/out/B.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testStaticImports0/out/B.java
new file mode 100644
index 000000000..15b4326f8
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testStaticImports0/out/B.java
@@ -0,0 +1,3 @@
+package p;
+class B<S> extends A<S>{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testStaticImports1/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testStaticImports1/in/A.java
new file mode 100644
index 000000000..6181dfdda
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testStaticImports1/in/A.java
@@ -0,0 +1,4 @@
+package p;
+class A<T>{
+ void x(T t){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testStaticImports1/in/B.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testStaticImports1/in/B.java
new file mode 100644
index 000000000..df955c2c3
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testStaticImports1/in/B.java
@@ -0,0 +1,5 @@
+package p;
+import static java.lang.Math.cos;
+class B<S> extends A<S>{
+ protected void m(S s){double d= cos(0);}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testStaticImports1/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testStaticImports1/out/A.java
new file mode 100644
index 000000000..990f00414
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testStaticImports1/out/A.java
@@ -0,0 +1,9 @@
+package p;
+
+import static java.lang.Math.cos;
+
+class A<T>{
+ void x(T t){}
+
+ protected void m(T s) {double d= cos(0);}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testStaticImports1/out/B.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testStaticImports1/out/B.java
new file mode 100644
index 000000000..15b4326f8
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testStaticImports1/out/B.java
@@ -0,0 +1,3 @@
+package p;
+class B<S> extends A<S>{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testTemplate/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testTemplate/in/A.java
new file mode 100644
index 000000000..b23b2d91e
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testTemplate/in/A.java
@@ -0,0 +1 @@
+package p; \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testTemplate/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testTemplate/out/A.java
new file mode 100644
index 000000000..b23b2d91e
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testTemplate/out/A.java
@@ -0,0 +1 @@
+package p; \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test0/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test0/in/A.java
new file mode 100644
index 000000000..05b3f05a3
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test0/in/A.java
@@ -0,0 +1,6 @@
+package p;
+class A{
+ public void m() {}
+}
+class B extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test0/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test0/out/A.java
new file mode 100644
index 000000000..5d01caf72
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test0/out/A.java
@@ -0,0 +1,7 @@
+package p;
+class A{
+}
+class B extends A{
+
+ public void m() {}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test1/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test1/in/A.java
new file mode 100644
index 000000000..05b3f05a3
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test1/in/A.java
@@ -0,0 +1,6 @@
+package p;
+class A{
+ public void m() {}
+}
+class B extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test1/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test1/out/A.java
new file mode 100644
index 000000000..7a2476f72
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test1/out/A.java
@@ -0,0 +1,9 @@
+package p;
+abstract class A{
+ public abstract void m();
+}
+class B extends A{
+
+ @Override
+ public void m() {}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test10/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test10/in/A.java
new file mode 100644
index 000000000..c8b51b070
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test10/in/A.java
@@ -0,0 +1,13 @@
+package p;
+class A{
+ /**
+ * comment
+ */
+ public void m() {}
+}
+class B extends A{
+}
+class B1 extends B{
+}
+class C extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test10/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test10/out/A.java
new file mode 100644
index 000000000..3c27d6732
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test10/out/A.java
@@ -0,0 +1,19 @@
+package p;
+class A{
+}
+class B extends A{
+
+ /**
+ * comment
+ */
+ public void m() {}
+}
+class B1 extends B{
+}
+class C extends A{
+
+ /**
+ * comment
+ */
+ public void m() {}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test11/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test11/in/A.java
new file mode 100644
index 000000000..d925575e6
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test11/in/A.java
@@ -0,0 +1,9 @@
+package p;
+class A{
+ /**
+ * comment
+ */
+ public void m() {}
+}
+class B extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test11/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test11/out/A.java
new file mode 100644
index 000000000..3da2ea60c
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test11/out/A.java
@@ -0,0 +1,10 @@
+package p;
+class A{
+}
+class B extends A{
+
+ /**
+ * comment
+ */
+ public void m() {}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test12/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test12/in/A.java
new file mode 100644
index 000000000..c3443c1a7
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test12/in/A.java
@@ -0,0 +1,7 @@
+package p;
+class A{
+
+ public int f;
+}
+class B extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test12/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test12/out/A.java
new file mode 100644
index 000000000..39e2fc705
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test12/out/A.java
@@ -0,0 +1,7 @@
+package p;
+class A{
+}
+class B extends A{
+
+ public int f;
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test13/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test13/in/A.java
new file mode 100644
index 000000000..6835bf8f4
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test13/in/A.java
@@ -0,0 +1,7 @@
+package p;
+class A{
+
+ public int f, g;
+}
+class B extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test13/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test13/out/A.java
new file mode 100644
index 000000000..ea779207b
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test13/out/A.java
@@ -0,0 +1,9 @@
+package p;
+class A{
+
+ public int g;
+}
+class B extends A{
+
+ public int f;
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test14/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test14/in/A.java
new file mode 100644
index 000000000..ae28b6d58
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test14/in/A.java
@@ -0,0 +1,7 @@
+package p;
+abstract class A{
+
+ public abstract void f();
+}
+abstract class B extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test14/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test14/out/A.java
new file mode 100644
index 000000000..8c4eb4b45
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test14/out/A.java
@@ -0,0 +1,9 @@
+package p;
+abstract class A{
+
+ public abstract void f();
+}
+abstract class B extends A{
+
+ public abstract void f();
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test15/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test15/in/A.java
new file mode 100644
index 000000000..ae28b6d58
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test15/in/A.java
@@ -0,0 +1,7 @@
+package p;
+abstract class A{
+
+ public abstract void f();
+}
+abstract class B extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test15/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test15/out/A.java
new file mode 100644
index 000000000..67bf01aee
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test15/out/A.java
@@ -0,0 +1,7 @@
+package p;
+abstract class A{
+}
+abstract class B extends A{
+
+ public abstract void f();
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test16/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test16/in/A.java
new file mode 100644
index 000000000..4dc0f8c9e
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test16/in/A.java
@@ -0,0 +1,10 @@
+package p;
+abstract class A{
+
+ public abstract void f();
+}
+abstract class B extends A{
+}
+class C extends A{
+ public void f(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test16/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test16/out/A.java
new file mode 100644
index 000000000..90077a700
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test16/out/A.java
@@ -0,0 +1,10 @@
+package p;
+abstract class A{
+}
+abstract class B extends A{
+
+ public abstract void f();
+}
+class C extends A{
+ public void f(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test17/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test17/in/A.java
new file mode 100644
index 000000000..4dc0f8c9e
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test17/in/A.java
@@ -0,0 +1,10 @@
+package p;
+abstract class A{
+
+ public abstract void f();
+}
+abstract class B extends A{
+}
+class C extends A{
+ public void f(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test17/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test17/out/A.java
new file mode 100644
index 000000000..38de40eb4
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test17/out/A.java
@@ -0,0 +1,12 @@
+package p;
+abstract class A{
+
+ public abstract void f();
+}
+abstract class B extends A{
+
+ public abstract void f();
+}
+class C extends A{
+ public void f(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test18/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test18/in/A.java
new file mode 100644
index 000000000..8efa469f5
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test18/in/A.java
@@ -0,0 +1,12 @@
+package p;
+abstract class A{
+
+ public abstract void f();
+
+ public void m() {}
+}
+abstract class B extends A{
+}
+class C extends A{
+ public void f(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test18/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test18/out/A.java
new file mode 100644
index 000000000..99bd6adc0
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test18/out/A.java
@@ -0,0 +1,14 @@
+package p;
+abstract class A{
+}
+abstract class B extends A{
+
+ public void m() {}
+
+ public abstract void f();
+}
+class C extends A{
+ public void f(){}
+
+ public void m() {}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test19/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test19/in/A.java
new file mode 100644
index 000000000..8efa469f5
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test19/in/A.java
@@ -0,0 +1,12 @@
+package p;
+abstract class A{
+
+ public abstract void f();
+
+ public void m() {}
+}
+abstract class B extends A{
+}
+class C extends A{
+ public void f(){}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test19/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test19/out/A.java
new file mode 100644
index 000000000..e5d46e320
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test19/out/A.java
@@ -0,0 +1,20 @@
+package p;
+abstract class A{
+
+ public abstract void f();
+
+ public abstract void m();
+}
+abstract class B extends A{
+
+ @Override
+ public void m() {}
+
+ public abstract void f();
+}
+class C extends A{
+ public void f(){}
+
+ @Override
+ public void m() {}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test2/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test2/in/A.java
new file mode 100644
index 000000000..993b40bf6
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test2/in/A.java
@@ -0,0 +1,6 @@
+package p;
+abstract class A{
+ public abstract void m();
+}
+abstract class B extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test2/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test2/out/A.java
new file mode 100644
index 000000000..b925b3073
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test2/out/A.java
@@ -0,0 +1,7 @@
+package p;
+abstract class A{
+}
+abstract class B extends A{
+
+ public abstract void m();
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test20/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test20/in/A.java
new file mode 100644
index 000000000..07fe39f3d
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test20/in/A.java
@@ -0,0 +1,18 @@
+package p;
+
+import java.util.Collection;
+import java.util.List;
+import java.util.Set;
+
+class A{
+
+ public Collection i;
+
+ public List f(){
+ return null;
+ }
+
+ public Set m(){
+ return null;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test20/in/B.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test20/in/B.java
new file mode 100644
index 000000000..f6e6d2459
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test20/in/B.java
@@ -0,0 +1,4 @@
+package p;
+
+class B extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test20/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test20/out/A.java
new file mode 100644
index 000000000..ae45c1293
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test20/out/A.java
@@ -0,0 +1,8 @@
+package p;
+
+import java.util.Set;
+
+abstract class A{
+
+ public abstract Set m();
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test20/out/B.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test20/out/B.java
new file mode 100644
index 000000000..5bb00d592
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test20/out/B.java
@@ -0,0 +1,19 @@
+package p;
+
+import java.util.Collection;
+import java.util.List;
+import java.util.Set;
+
+class B extends A{
+
+ public Collection i;
+
+ public List f() {
+ return null;
+ }
+
+ @Override
+ public Set m() {
+ return null;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test21/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test21/in/A.java
new file mode 100644
index 000000000..4b9e68bda
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test21/in/A.java
@@ -0,0 +1,16 @@
+package p;
+
+import java.util.Collection;
+import java.util.List;
+import java.util.Set;
+
+abstract class A{
+
+ public Collection i;
+
+ public List f() {
+ return null;
+ }
+
+ public abstract Set m();
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test21/in/B.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test21/in/B.java
new file mode 100644
index 000000000..1eaac0b15
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test21/in/B.java
@@ -0,0 +1,10 @@
+package p;
+
+import java.util.Set;
+
+class B extends A{
+
+ public Set m() {
+ return null;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test21/in/C.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test21/in/C.java
new file mode 100644
index 000000000..e3310af8d
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test21/in/C.java
@@ -0,0 +1,4 @@
+package p;
+
+abstract class C extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test21/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test21/out/A.java
new file mode 100644
index 000000000..e7378d538
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test21/out/A.java
@@ -0,0 +1,5 @@
+package p;
+
+
+abstract class A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test21/out/B.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test21/out/B.java
new file mode 100644
index 000000000..1d7bb0010
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test21/out/B.java
@@ -0,0 +1,18 @@
+package p;
+
+import java.util.Collection;
+import java.util.List;
+import java.util.Set;
+
+class B extends A{
+
+ public Collection i;
+
+ public Set m() {
+ return null;
+ }
+
+ public List f() {
+ return null;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test21/out/C.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test21/out/C.java
new file mode 100644
index 000000000..dfd0787ab
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test21/out/C.java
@@ -0,0 +1,16 @@
+package p;
+
+import java.util.Collection;
+import java.util.List;
+import java.util.Set;
+
+abstract class C extends A{
+
+ public Collection i;
+
+ public List f() {
+ return null;
+ }
+
+ public abstract Set m();
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test22/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test22/in/A.java
new file mode 100644
index 000000000..864f6c5d0
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test22/in/A.java
@@ -0,0 +1,13 @@
+package p;
+
+class A {
+
+ private int bar;
+}
+class B extends A {
+
+ private int x;
+
+ public void fred(){
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test22/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test22/out/A.java
new file mode 100644
index 000000000..071ddddd0
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test22/out/A.java
@@ -0,0 +1,12 @@
+package p;
+
+class A {
+}
+class B extends A {
+
+ private int x;
+ private int bar;
+
+ public void fred(){
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test23/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test23/in/A.java
new file mode 100644
index 000000000..68e58bead
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test23/in/A.java
@@ -0,0 +1,13 @@
+package p;
+
+class A {
+
+ private int bar;
+}
+class B extends A {
+
+ public void fred(){
+ }
+
+ private int x;
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test23/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test23/out/A.java
new file mode 100644
index 000000000..c78a2d264
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test23/out/A.java
@@ -0,0 +1,12 @@
+package p;
+
+class A {
+}
+class B extends A {
+
+ public void fred(){
+ }
+
+ private int x;
+ private int bar;
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test24/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test24/in/A.java
new file mode 100644
index 000000000..f6255cb99
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test24/in/A.java
@@ -0,0 +1,15 @@
+package p;
+
+class A {
+
+ private int foo;
+
+ private int bar;
+}
+class B extends A {
+
+ public void fred(){
+ }
+
+ private int x;
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test24/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test24/out/A.java
new file mode 100644
index 000000000..e4b57942c
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test24/out/A.java
@@ -0,0 +1,13 @@
+package p;
+
+class A {
+}
+class B extends A {
+
+ public void fred(){
+ }
+
+ private int x;
+ private int foo;
+ private int bar;
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test25/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test25/in/A.java
new file mode 100644
index 000000000..5566cc1bc
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test25/in/A.java
@@ -0,0 +1,14 @@
+package p;
+
+class A {
+
+ private int bar() {
+ return foo();
+ }
+
+ public int foo() {
+ return 2;
+ }
+}
+class B extends A {
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test25/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test25/out/A.java
new file mode 100644
index 000000000..41a9fd751
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test25/out/A.java
@@ -0,0 +1,17 @@
+package p;
+
+abstract class A {
+
+ private int bar() {
+ return foo();
+ }
+
+ public abstract int foo();
+}
+class B extends A {
+
+ @Override
+ public int foo() {
+ return 2;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test26/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test26/in/A.java
new file mode 100644
index 000000000..ce7139f07
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test26/in/A.java
@@ -0,0 +1,12 @@
+package p;
+
+class A {
+
+ public int bar() {
+ return 1;
+ }
+}
+class B extends A {
+
+ int fred;
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test26/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test26/out/A.java
new file mode 100644
index 000000000..13b28706f
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test26/out/A.java
@@ -0,0 +1,12 @@
+package p;
+
+class A {
+}
+class B extends A {
+
+ int fred;
+
+ public int bar() {
+ return 1;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test27/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test27/in/A.java
new file mode 100644
index 000000000..4a05aa40e
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test27/in/A.java
@@ -0,0 +1,16 @@
+package p;
+
+class A {
+
+ public int bar() {
+ return 1;
+ }
+}
+class B extends A {
+
+ public int foo() {
+ return 1;
+ }
+
+ int fred;
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test27/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test27/out/A.java
new file mode 100644
index 000000000..0f2c9e857
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test27/out/A.java
@@ -0,0 +1,16 @@
+package p;
+
+class A {
+}
+class B extends A {
+
+ public int foo() {
+ return 1;
+ }
+
+ public int bar() {
+ return 1;
+ }
+
+ int fred;
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test28/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test28/in/A.java
new file mode 100644
index 000000000..82126d6ae
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test28/in/A.java
@@ -0,0 +1,7 @@
+package p;
+
+class A {
+ int i= 0, j= 1;
+}
+class B extends A {
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test28/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test28/out/A.java
new file mode 100644
index 000000000..995dd10ef
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test28/out/A.java
@@ -0,0 +1,9 @@
+package p;
+
+class A {
+}
+class B extends A {
+
+ int i = 0;
+ int j = 1;
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test29/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test29/in/A.java
new file mode 100644
index 000000000..6285d4d8d
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test29/in/A.java
@@ -0,0 +1,16 @@
+package p;
+
+class A {
+ private TEST bar() {
+ return foo();
+ }
+
+ public TEST foo() {
+ return TEST.CHECK;
+ }
+}
+class B extends A {
+}
+enum TEST {
+ CHECK;
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test29/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test29/out/A.java
new file mode 100644
index 000000000..db8fce9dd
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test29/out/A.java
@@ -0,0 +1,19 @@
+package p;
+
+abstract class A {
+ private TEST bar() {
+ return foo();
+ }
+
+ public abstract TEST foo();
+}
+class B extends A {
+
+ @Override
+ public TEST foo() {
+ return TEST.CHECK;
+ }
+}
+enum TEST {
+ CHECK;
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test3/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test3/in/A.java
new file mode 100644
index 000000000..d21beda57
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test3/in/A.java
@@ -0,0 +1,10 @@
+package p;
+class A{
+ public void m() {}
+}
+class B extends A{
+}
+class B1 extends B{
+}
+class C extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test3/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test3/out/A.java
new file mode 100644
index 000000000..3e436c7e5
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test3/out/A.java
@@ -0,0 +1,13 @@
+package p;
+class A{
+}
+class B extends A{
+
+ public void m() {}
+}
+class B1 extends B{
+}
+class C extends A{
+
+ public void m() {}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test30/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test30/in/A.java
new file mode 100644
index 000000000..818ac7850
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test30/in/A.java
@@ -0,0 +1,18 @@
+package p;
+
+class A {
+ public @interface Annotation {
+ String name() default "foo";
+ }
+ private int bar() {
+ return foo();
+ }
+ @Annotation (
+ name= "bar"
+ )
+ public int foo() {
+ return 2;
+ }
+}
+class B extends A {
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test30/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test30/out/A.java
new file mode 100644
index 000000000..695fcd70a
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test30/out/A.java
@@ -0,0 +1,22 @@
+package p;
+
+abstract class A {
+ public @interface Annotation {
+ String name() default "foo";
+ }
+ private int bar() {
+ return foo();
+ }
+ @Annotation (
+ name= "bar"
+ )
+ public abstract int foo();
+}
+class B extends A {
+
+ @Annotation(name = "bar")
+ @Override
+ public int foo() {
+ return 2;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test31/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test31/in/A.java
new file mode 100644
index 000000000..3d2a21d83
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test31/in/A.java
@@ -0,0 +1,16 @@
+package p;
+
+class A {
+ public enum TEST {
+ CHECK;
+ }
+ private int bar() {
+ return foo();
+ }
+
+ public int foo() {
+ return 2;
+ }
+}
+class B extends A {
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test31/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test31/out/A.java
new file mode 100644
index 000000000..5bb786393
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test31/out/A.java
@@ -0,0 +1,19 @@
+package p;
+
+abstract class A {
+ public enum TEST {
+ CHECK;
+ }
+ private int bar() {
+ return foo();
+ }
+
+ public abstract int foo();
+}
+class B extends A {
+
+ @Override
+ public int foo() {
+ return 2;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test32/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test32/in/A.java
new file mode 100644
index 000000000..cc46f6c85
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test32/in/A.java
@@ -0,0 +1,16 @@
+package p;
+
+class A {
+ @interface Annotation {
+ String name();
+ }
+ private int bar() {
+ return foo();
+ }
+
+ public int foo() {
+ return 2;
+ }
+}
+class B extends A {
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test32/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test32/out/A.java
new file mode 100644
index 000000000..b91b237f6
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test32/out/A.java
@@ -0,0 +1,19 @@
+package p;
+
+abstract class A {
+ @interface Annotation {
+ String name();
+ }
+ private int bar() {
+ return foo();
+ }
+
+ public abstract int foo();
+}
+class B extends A {
+
+ @Override
+ public int foo() {
+ return 2;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test33/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test33/in/A.java
new file mode 100644
index 000000000..8182a59f0
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test33/in/A.java
@@ -0,0 +1,18 @@
+package p;
+
+import static java.lang.Math.PI;
+import java.util.Collection;
+import java.util.List;
+import java.util.Set;
+
+abstract class A{
+
+ public Collection i;
+
+ public List f() {
+ double d= PI;
+ return null;
+ }
+
+ public abstract Set m();
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test33/in/B.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test33/in/B.java
new file mode 100644
index 000000000..1eaac0b15
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test33/in/B.java
@@ -0,0 +1,10 @@
+package p;
+
+import java.util.Set;
+
+class B extends A{
+
+ public Set m() {
+ return null;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test33/in/C.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test33/in/C.java
new file mode 100644
index 000000000..e3310af8d
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test33/in/C.java
@@ -0,0 +1,4 @@
+package p;
+
+abstract class C extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test33/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test33/out/A.java
new file mode 100644
index 000000000..e7378d538
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test33/out/A.java
@@ -0,0 +1,5 @@
+package p;
+
+
+abstract class A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test33/out/B.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test33/out/B.java
new file mode 100644
index 000000000..2b3bbd0c4
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test33/out/B.java
@@ -0,0 +1,21 @@
+package p;
+
+import static java.lang.Math.PI;
+
+import java.util.Collection;
+import java.util.List;
+import java.util.Set;
+
+class B extends A{
+
+ public Collection i;
+
+ public Set m() {
+ return null;
+ }
+
+ public List f() {
+ double d= PI;
+ return null;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test33/out/C.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test33/out/C.java
new file mode 100644
index 000000000..77c9244bc
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test33/out/C.java
@@ -0,0 +1,19 @@
+package p;
+
+import static java.lang.Math.PI;
+
+import java.util.Collection;
+import java.util.List;
+import java.util.Set;
+
+abstract class C extends A{
+
+ public Collection i;
+
+ public List f() {
+ double d= PI;
+ return null;
+ }
+
+ public abstract Set m();
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test34/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test34/in/A.java
new file mode 100644
index 000000000..5ab622f5a
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test34/in/A.java
@@ -0,0 +1,18 @@
+package p;
+
+import static java.lang.Math.cos;
+import java.util.Collection;
+import java.util.List;
+import java.util.Set;
+
+abstract class A{
+
+ public Collection i;
+
+ public List f() {
+ double d= cos(0);
+ return null;
+ }
+
+ public abstract Set m();
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test34/in/B.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test34/in/B.java
new file mode 100644
index 000000000..1eaac0b15
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test34/in/B.java
@@ -0,0 +1,10 @@
+package p;
+
+import java.util.Set;
+
+class B extends A{
+
+ public Set m() {
+ return null;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test34/in/C.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test34/in/C.java
new file mode 100644
index 000000000..e3310af8d
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test34/in/C.java
@@ -0,0 +1,4 @@
+package p;
+
+abstract class C extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test34/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test34/out/A.java
new file mode 100644
index 000000000..e7378d538
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test34/out/A.java
@@ -0,0 +1,5 @@
+package p;
+
+
+abstract class A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test34/out/B.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test34/out/B.java
new file mode 100644
index 000000000..85858d786
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test34/out/B.java
@@ -0,0 +1,20 @@
+package p;
+
+import static java.lang.Math.cos;
+import java.util.Collection;
+import java.util.List;
+import java.util.Set;
+
+class B extends A{
+
+ public Collection i;
+
+ public Set m() {
+ return null;
+ }
+
+ public List f() {
+ double d= cos(0);
+ return null;
+ }
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test34/out/C.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test34/out/C.java
new file mode 100644
index 000000000..6697ed5e6
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test34/out/C.java
@@ -0,0 +1,18 @@
+package p;
+
+import static java.lang.Math.cos;
+import java.util.Collection;
+import java.util.List;
+import java.util.Set;
+
+abstract class C extends A{
+
+ public Collection i;
+
+ public List f() {
+ double d= cos(0);
+ return null;
+ }
+
+ public abstract Set m();
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test4/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test4/in/A.java
new file mode 100644
index 000000000..d21beda57
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test4/in/A.java
@@ -0,0 +1,10 @@
+package p;
+class A{
+ public void m() {}
+}
+class B extends A{
+}
+class B1 extends B{
+}
+class C extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test4/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test4/out/A.java
new file mode 100644
index 000000000..a2cfe9194
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test4/out/A.java
@@ -0,0 +1,16 @@
+package p;
+abstract class A{
+ public abstract void m();
+}
+class B extends A{
+
+ @Override
+ public void m() {}
+}
+class B1 extends B{
+}
+class C extends A{
+
+ @Override
+ public void m() {}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test5/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test5/in/A.java
new file mode 100644
index 000000000..aafdd487d
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test5/in/A.java
@@ -0,0 +1,10 @@
+package p;
+abstract class A{
+ public abstract void m();
+}
+abstract class B extends A{
+}
+abstract class B1 extends B{
+}
+abstract class C extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test5/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test5/out/A.java
new file mode 100644
index 000000000..5cf62cb34
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test5/out/A.java
@@ -0,0 +1,13 @@
+package p;
+abstract class A{
+}
+abstract class B extends A{
+
+ public abstract void m();
+}
+abstract class B1 extends B{
+}
+abstract class C extends A{
+
+ public abstract void m();
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test6/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test6/in/A.java
new file mode 100644
index 000000000..993b40bf6
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test6/in/A.java
@@ -0,0 +1,6 @@
+package p;
+abstract class A{
+ public abstract void m();
+}
+abstract class B extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test6/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test6/out/A.java
new file mode 100644
index 000000000..b46a7c2de
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test6/out/A.java
@@ -0,0 +1,8 @@
+package p;
+abstract class A{
+ public abstract void m();
+}
+abstract class B extends A{
+
+ public abstract void m();
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test7/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test7/in/A.java
new file mode 100644
index 000000000..aafdd487d
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test7/in/A.java
@@ -0,0 +1,10 @@
+package p;
+abstract class A{
+ public abstract void m();
+}
+abstract class B extends A{
+}
+abstract class B1 extends B{
+}
+abstract class C extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test7/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test7/out/A.java
new file mode 100644
index 000000000..bea36863f
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test7/out/A.java
@@ -0,0 +1,14 @@
+package p;
+abstract class A{
+ public abstract void m();
+}
+abstract class B extends A{
+
+ public abstract void m();
+}
+abstract class B1 extends B{
+}
+abstract class C extends A{
+
+ public abstract void m();
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test8/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test8/in/A.java
new file mode 100644
index 000000000..d925575e6
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test8/in/A.java
@@ -0,0 +1,9 @@
+package p;
+class A{
+ /**
+ * comment
+ */
+ public void m() {}
+}
+class B extends A{
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test8/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test8/out/A.java
new file mode 100644
index 000000000..4080b2555
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test8/out/A.java
@@ -0,0 +1,12 @@
+package p;
+abstract class A{
+ /**
+ * comment
+ */
+ public abstract void m();
+}
+class B extends A{
+
+ @Override
+ public void m() {}
+} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test9/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test9/in/A.java
new file mode 100644
index 000000000..c8b51b070
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test9/in/A.java