Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 511175 - [quick fix] Provide Quick Fix to "Change type assignment with cast
Summary: [quick fix] Provide Quick Fix to "Change type assignment with cast
Status: CLOSED DUPLICATE of bug 515579
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.7   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-27 06:08 EST by Lars Vogel CLA
Modified: 2017-04-21 10:52 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Vogel CLA 2017-01-27 06:08:35 EST
I have something like this:

MyType t1 = m.getIt();

Now I would like to change MyType to another type. Current process is:

1.) Change type: MyNewType t1 = m.getIt();
2.) Get an error
3.) Move cursor to m.getIt() and use quick fix to add a type cast

I suggest to offer a quick fix on MyType to change the type and to include a cast.
Comment 1 Noopur Gupta CLA 2017-04-21 10:52:11 EDT

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