Project: JDT
Bug 46935 Change method signature: More comfort for entering types [refactoring]
Reported: 2003-11-19 05:44:54 | Status: resolved fixed

20031119 In the 'Refactoring > Change Method Signature' dialog, entering the return type as well as entering parameter type is very cumbersome. - No browse to choose a type - No combo for 'int', 'void' ect - Not clear how imports are handled. Do I have to enter qualified types to get imports, or will this result in qualified names in the code? - No validation as you type in for parameter fields. As this is a refactoring it looks strange that you can enter a non-existing file name. I would suggest that always fully qualified type are shown and that the refactoring creates imports but uses simple names.

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testImport01_in.java org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testImport01_out.java org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testImport02_in.java org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testImport02_out.java org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testImport03_in.java org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testImport03_out.java org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testImport04_in.java org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testImport04_out.java org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/cannotModify/A_testFailImport01.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/ChangeSignatureTests.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java