Bug 106450 - [1.5][assist] Code assist doesn't propose methods when "hinting" generic methods
Summary: [1.5][assist] Code assist doesn't propose methods when "hinting" generic methods
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 RC1   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-09 06:04 EDT by Dirk Baeumer CLA
Modified: 2006-04-13 11:49 EDT (History)
1 user (show)

See Also:


Attachments
Proposed fix (41.61 KB, patch)
2006-04-11 10:43 EDT, David Audel CLA
no flags Details | Diff
Better fix (42.47 KB, patch)
2006-04-11 12:48 EDT, David Audel CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Baeumer CLA 2005-08-09 06:04:31 EDT
3.1

public class A {
	void foo() {
		Collections.<B>em<code assist here>
	}
}

observe: only types are proposed. 

expected: method emptySet is proposed.
Comment 1 David Audel CLA 2006-04-11 10:43:21 EDT
The support for parameterized methods completion is fully missing (inside CompletionParser and CompletionEngine).
Comment 2 David Audel CLA 2006-04-11 10:43:41 EDT
Created attachment 38288 [details]
Proposed fix
Comment 3 David Audel CLA 2006-04-11 10:44:22 EDT
Philippe,

+1 for RC1?
Comment 4 David Audel CLA 2006-04-11 12:48:38 EDT
Created attachment 38301 [details]
Better fix
Comment 5 Philipe Mulet CLA 2006-04-12 09:16:27 EDT
+1 for 3.2RC1
Comment 6 David Audel CLA 2006-04-12 09:18:33 EDT
Fix released and test added
  GenericsCompletionParserTest#test206() -> test210()
  CompletionTests_1_5#test271() -> test284()
Comment 7 Maxime Daniel CLA 2006-04-13 11:49:46 EDT
Verified for 3.2 RC1 using Build id: I20060413-0010.