Bug 83489

Summary: [select] Code select returns IType instead of ITypeParameter on method parameters types
Product: [Eclipse Project] JDT Reporter: Frederic Fusier <frederic_fusier>
Component: CoreAssignee: David Audel <david_audel>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Frederic Fusier CLA 2005-01-22 17:33:00 EST
Using HEAD.
Consider following test case:
class Test<T> {
  void foo(T t) {}
}

When I select "T" in method declaration, selection engine returns an IType
"Test" instead of expected ITypeParameter "T".
Comment 1 Frederic Fusier CLA 2005-01-22 17:34:07 EST
This make search for declaration and references for type parameter impossible
while selecting this java element...
Comment 2 Frederic Fusier CLA 2005-01-24 07:26:25 EST
This bug does not really block bug 81190 implementation (just have to modify
some tests...) => remove dependency
Comment 3 David Audel CLA 2005-01-24 10:55:23 EST
The test case is not correct. The bug occurs with

class Test {
  <T> Test(T t) {}
}
Comment 4 David Audel CLA 2005-01-25 05:56:38 EST
Fixed and test added
  ResolveTest_1_5#test0090()
Comment 5 Jerome Lanneluc CLA 2005-02-14 12:25:35 EST
Verified in I20050214