Bug 54962 - plain reference to package not found in (@see) javadoc
Summary: plain reference to package not found in (@see) javadoc
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 M9   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-16 09:27 EST by Markus Keller CLA
Modified: 2004-05-18 12:46 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2004-03-16 09:27:04 EST
package p;
/**
 * @see p
 * @see p.A
 * @see p.AA
 */
public class AA {
}

The first reference (@see p) is not found when searching for references to
package p.

jdt-ui reminder: diable RenamePackageTests#test0()
Comment 1 Frederic Fusier CLA 2004-05-16 17:05:19 EDT
Fixed.

Solely package reference is now seen as the other.

[jtd-core-internal]
Humm, as solely package references where bound and stored inside 
Javadoc*TypeReference, the fix for this problem continue to implement 
this "bizarre" but necessary design...
Changes done in:
1) MatchLocator method reportMatching(CompilationUnitDeclaration,boolean):
   Look for Javadoc*TypeReference which have a non-null packageBinding. If so,
   create new JavadocImportReference, match level and report import ref for it,
2) PackageReferenceLocator methods matchReportImportRef and resolveBinding:
   Take into account that now binding can be a PackageBinding

Test cases added in JavadocSearchJavadocTests
Comment 2 Olivier Thomann CLA 2004-05-18 12:46:46 EDT
Verified in 200405180816