Bug 223566

Summary: [extract method] introduce result type for multiple results
Product: [Eclipse Project] JDT Reporter: Jonathan Locke <jonathan.locke>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3 CC: martinae
Version: 3.4Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

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.