Bug 81190

Summary: [1.5][search] no search for type parameters - SearchPattern is null
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 81196    
Attachments:
Description Flags
All changes (including tests) for this new functionality none

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