Bug 81190 - [1.5][search] no search for type parameters - SearchPattern is null
Summary: [1.5][search] no search for type parameters - SearchPattern is null
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: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 81196
  Show dependency tree
 
Reported: 2004-12-15 11:00 EST by Markus Keller CLA
Modified: 2005-02-14 12:36 EST (History)
0 users

See Also:


Attachments
All changes (including tests) for this new functionality (12.32 KB, application/octet-stream)
2005-01-24 11:01 EST, Frederic Fusier CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2004-12-15 11:00:47 EST
I20041214-2000

Creating a pattern with SearchPattern.createPattern(IJavaElement, int, int) with
an ITypeParameter returns null.

Expected: Search for ITypeParameter should be supported like search for
ILocalVariable already is.
Comment 1 Frederic Fusier CLA 2005-01-24 11:00:11 EST
Fixed.

Clients can now search for ITypeParameter references and /or declarations.
Note that this will be accessible to user only when bug 81196 will be fixed.

[jdt-core-internal]
I'll put all changes in a zip file and attach to this bug.
Test cases added in JavaSearchTests and JavaSearchJavadocTests (testTypeParameter*)
Comment 2 Frederic Fusier CLA 2005-01-24 11:01:48 EST
Created attachment 17396 [details]
All changes (including tests) for this new functionality
Comment 3 David Audel CLA 2005-02-14 12:36:20 EST
Verified in I20050209 + JDT Core v_536