Bug 73336

Summary: [1.5][search] Search Engine does not find type references of actual generic type parameters
Product: [Eclipse Project] JDT Reporter: Tobias Widmer <tobias_widmer>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: bob, markus.kell.r
Version: 3.0   
Target Milestone: 3.1 M2   
Hardware: PC   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 73721    

Description Tobias Widmer CLA 2004-09-06 11:51:13 EDT
20040906: The search engine cannot find type references occurring in actual 
generic type parameters using a java element search pattern from 

SearchPattern.createPattern(IType, IJavaSearchConstants.REFERENCES);

Steps to reproduce:
- Create class A
- Create class B extending HashMap<A,A>
- Rename A to C

The type references in class B are not renamed
Comment 1 Dirk Baeumer CLA 2004-09-14 05:53:33 EDT
*** Bug 73721 has been marked as a duplicate of this bug. ***
Comment 2 Frederic Fusier CLA 2004-09-15 13:44:50 EDT
Fixed.

Now SearchEngine correctly found type references in extends class declaration.

[jdt-core-internal]
Changes in MatchLocator:
 - modify method reportMatching(TypeDeclaration...)
 - add method reportMatchingSuper(TypeReference...)
Test cases added in JavaSearchTests for both parameterized single and qualified
type references...
Comment 3 David Audel CLA 2004-09-23 10:49:31 EDT
Verified in I200409230100.