Summary: | [1.5][search] Search for all occurrences does not find references in static imports | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Tobias Widmer <tobias_widmer> |
Component: | Core | Assignee: | Frederic Fusier <frederic_fusier> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.1 | ||
Target Milestone: | 3.1 RC1 | ||
Hardware: | PC | ||
OS: | All | ||
Whiteboard: |
Description
Tobias Widmer
2005-05-18 12:27:21 EDT
Problem comes from OrLocator.matchLevelAndReportImportRef method (an occurences types search uses an OrPattern made of TypeDeclarationPattern and TypeReferencePattern). This method needs to take into account import static reference as matchLevelAndReportImportRef does in TypeReferenceLocator... *** Bug 95938 has been marked as a duplicate of this bug. *** forgot previous comment. bug 95938 is not a duplicate of this bug Fixed and released in HEAD. Type references in static import are now also find with all occurrences. [jdt-core internal] Changes done in OrLocator.matchLevelAndReportImportRef method. Test cases added in JavaSearchBugsTests Verified in I20050526-2000 |