Summary: | [rename] Create template method from existing code [refactoring] | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Dirk Baeumer <dirk_baeumer> |
Component: | UI | Assignee: | Markus Keller <markus.kell.r> |
Status: | NEW --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | CC: | n.a.edgar |
Version: | 3.0 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Dirk Baeumer
2003-12-04 18:27:04 EST
Unfortunatelly not. The rename refactoring is semantic preserving. So if you rename setup it renames all methods in the hierarchy with the same signature and all references to them. The refactoring you are requesting is something like: "convert method into template method and create delegate with existing signature". I will open a feature request. We have now rename method and keep delegate. I guess the refactoring could allow the rename of all method in source (and keep the one in binary), if you choose not to rename all references. |