Bug 45518 - Search has to find references put in javadoc comments
Summary: Search has to find references put in javadoc comments
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M5   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-24 12:33 EDT by Frederic Fusier CLA
Modified: 2003-11-21 07:50 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frederic Fusier CLA 2003-10-24 12:33:23 EDT
When Javadoc comments are parsed (eg. when 
JavaCore.COMPILER_PB_INVALID_ANNOTATION is different than JavaCore.IGNORE), 
search should find references put in these comments after @param, @throws and 
@see tags.
Comment 1 Frederic Fusier CLA 2003-10-27 05:12:25 EST
Fixed.

References put in Javadoc comments are now systematically indexed by the 
indexer.
The match locator return a positive result now only if the option "Reporting 
Invalid Javadoc Annotation" of the compiler is activated (ie. set to Warning or 
Error).
Comment 2 Frederic Fusier CLA 2003-10-27 12:58:27 EST
Basic test cases added in JavaSearchTests:
 - testAnnotationTypeReference
 - testAnnotationTypeReferenceWithJavadocWarnings
Comment 3 Frederic Fusier CLA 2003-10-31 11:27:57 EST
A specific test class has been created to verify this bug fix: 
JavaSearchAnnotationTests

Remove previous added test cases in JavaSearchTests
Comment 4 David Audel CLA 2003-11-21 07:50:03 EST
Verified.