Bug 73336 - [1.5][search] Search Engine does not find type references of actual generic type parameters
Summary: [1.5][search] Search Engine does not find type references of actual generic t...
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 3.1 M2   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 73721 (view as bug list)
Depends on:
Blocks: 73721
  Show dependency tree
 
Reported: 2004-09-06 11:51 EDT by Tobias Widmer CLA
Modified: 2004-09-23 10:49 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.