Bug 83489 - [select] Code select returns IType instead of ITypeParameter on method parameters types
Summary: [select] Code select returns IType instead of ITypeParameter on method parame...
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.1 M5   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-22 17:33 EST by Frederic Fusier CLA
Modified: 2005-02-14 12:25 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 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