Bug 68846 - [introduce parameter] should let choose parameter type
Summary: [introduce parameter] should let choose parameter type
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Markus Keller CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-29 06:01 EDT by Ilja Preuss CLA
Modified: 2006-06-09 11:52 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ilja Preuss CLA 2004-06-29 06:01:24 EDT
The Introduce Parameter refactoring should not only allow to choose the name of 
the parameter, but also the type (from all allowed subtypes of the choosen 
expression).
Comment 1 Dirk Baeumer CLA 2004-06-29 08:44:36 EDT
IMO we can only offer all super types. Otherwise the calling side will not 
compile. 

Can be achieved by combining introduce paramter with generalize type.
Comment 2 Ilja Preuss CLA 2004-06-29 12:10:13 EDT
Of course I *did* mean supertypes... :o