Bug 97234 - [1.5][assist] Completion in constructor type parameter should first provide corresponding type parameter of declaring type
Summary: [1.5][assist] Completion in constructor type parameter should first provide c...
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 3.1 RC1   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-30 08:58 EDT by Frederic Fusier CLA
Modified: 2005-05-30 09:04 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 Frederic Fusier CLA 2005-05-30 08:58:17 EDT
Using RC1.

I modify following line:
HashSet visited = new HashSet();

to modify with following 1.5 code:
HashSet<IJavaProject> visited = new HashSet<IJava|>();

I try to complete (| shows where...) and get a list of all IJava* interfaces
(starting with IJavaElement* ones). I would expect to have directly IJavaProject
insterted (ie. the only proposal) or at least IJavaProject put on top of the list...
Comment 1 Frederic Fusier CLA 2005-05-30 09:03:28 EDT
Forget it. Code assist already offers a smart way if I complete early:
HashSet<IJavaProject> visited = new HashSet|();

Then I get expected behavior (ie. only one proposal):
HashSet<IJavaProject> visited = new HashSet<IJavaProject>();