Bug 223566 - [extract method] introduce result type for multiple results
Summary: [extract method] introduce result type for multiple results
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2008-03-22 16:14 EDT by Jonathan Locke CLA
Modified: 2008-03-26 10:26 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Locke CLA 2008-03-22 16:14:02 EDT
Would be slick if instead of saying:

   "Ambiguous return value: selected block contains more than one assignment to local variable"

a container class were inserted (with template editing for the name) containing a field for each local variable.  The container class would be the return value of the extracted method.
Comment 1 Jerome Lanneluc CLA 2008-03-26 06:38:36 EDT
Moving to JDT/UI
Comment 2 Martin Aeschlimann CLA 2008-03-26 10:26:00 EDT
If you're interested, give it a try. Help is most welcome here.