Bug 86380

Summary: [1.5][search][annot] Add support to find references inside annotations on a package declaration
Product: [Eclipse Project] JDT Reporter: Olivier Thomann <Olivier_Thomann>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: david
Version: 3.1   
Target Milestone: 3.1 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 86167    
Bug Blocks:    

Description Olivier Thomann CLA 2005-02-23 16:50:28 EST
It is possible to have a package declaration with annotations. See bug 86167. It
should be possible to find references inside these annotations.
Comment 1 Frederic Fusier CLA 2005-04-22 14:05:41 EDT
Fixed and released in HEAD.

See bug 83804 for details...
Comment 2 Maxime Daniel CLA 2005-05-11 12:06:22 EDT
Seems to fail verification for 3.1 M7 using build I20050509-2010 + jdt.core HEAD.
Comment 3 Frederic Fusier CLA 2005-05-11 12:11:29 EDT
You're right :-(
In fact I made search working for Javadoc in package-info but not for annotations!
Comment 4 Frederic Fusier CLA 2005-05-11 15:19:51 EDT
*** Bug 94718 has been marked as a duplicate of this bug. ***
Comment 5 Frederic Fusier CLA 2005-05-11 17:11:05 EDT
Fixed.

Missed to look at compilation unit package annotations while reporting matches...

[jdt-core-internal]
Changes done in MatchLocator.reportMatching(CompilationUnitDeclaration,boolean)

Test case added in JavaSearchBugsTests
Comment 6 Maxime Daniel CLA 2005-05-12 07:57:37 EDT
Verified for 3.1 M7 using build I20050509-2010 + jdt.core HEAD-20050512.