Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349335 - [quick assist][1.7] Offer to replace <> with the inferred type
Summary: [quick assist][1.7] Offer to replace <> with the inferred type
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P2 enhancement (vote)
Target Milestone: 3.7.1   Edit
Assignee: Markus Keller CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 348493
Blocks:
  Show dependency tree
 
Reported: 2011-06-14 11:24 EDT by Dani Megert CLA
Modified: 2011-08-02 05:45 EDT (History)
3 users (show)

See Also:


Attachments
Fix & tests (13.73 KB, patch)
2011-07-12 14:51 EDT, Markus Keller CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2011-06-14 11:24:53 EDT
3.7.

Offer a quick assist to replace <> with the inferred type.
Comment 1 Deepak Azad CLA 2011-06-21 09:36:52 EDT
+1. This could be quite useful in cases where it is not trivial for a user to find the inferred type e.g. bug 349336 comment 1
Comment 2 Markus Keller CLA 2011-07-06 06:50:22 EDT
After bug 348493 is fixed, this could also be interesting in 1.5 and 1.6 code (as quick fix).
Comment 3 Markus Keller CLA 2011-07-12 14:51:55 EDT
Created attachment 199527 [details]
Fix & tests

"Insert inferred type arguments" is offered as quick assist and as quick fix for class instance creations.
Comment 4 Markus Keller CLA 2011-07-12 14:52:29 EDT
Fixed in BETA_JAVA7.
Comment 5 Satyam Kandula CLA 2011-07-19 09:20:36 EDT
Verified using patch 1.0.0.v20110714-1400.

It is nice to see this even for the 1.6 projects.