Bug 160847 - Would like to convert local field to parameter
Summary: Would like to convert local field to parameter
Status: RESOLVED DUPLICATE of bug 44811
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-13 07:52 EDT by Thorbjørn Ravn Andersen CLA
Modified: 2006-10-17 03:33 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 Thorbjørn Ravn Andersen CLA 2006-10-13 07:52:32 EDT
There is a functionality that allows you to convert an expression to a parameter.

When using local variables it occasionally happens that you wish to move that variable in a parameter (since for some reason it is dependent on the caller).  

The variable name is not an expression of the needed type, and using the assigment is cumbersome since you will introduce a new variable which cannot be named the same as the original local variable, requiring more work.
Comment 1 Martin Aeschlimann CLA 2006-10-17 03:33:48 EDT

*** This bug has been marked as a duplicate of 44811 ***