Bug 74295 - Code assist doesn't suggest parameter names for methods of generic types
Summary: Code assist doesn't suggest parameter names for methods of generic types
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M3   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-20 10:43 EDT by Erich Gamma CLA
Modified: 2004-11-04 10:44 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erich Gamma CLA 2004-09-20 10:43:58 EDT
I have the following class:
public class Cell<T extends Comparable> {
	T fValue;	
	void putValue(T value) {
		this.fValue= value;
	}
}

When I instantiate and invoke code assist as below:
	Cell<Integer> icell= new Cell<Integer>();
	icell.p|
the proposal shows up as:
	"putValue(Integer arg0)"  <- notice arg0 instead of value
Comment 1 Frederic Fusier CLA 2004-10-28 05:33:48 EDT
Fixed in build I200410260800.
I'll add it to JDT/Core buildnotes for 3.1 M3.
Comment 2 David Audel CLA 2004-10-28 05:58:28 EDT
Test added 
  CompletionTest1_5#test0069()
Comment 3 Frederic Fusier CLA 2004-11-04 10:44:23 EST
Verified for 3.1 M3 with build I200411040800