Bug 51508 - Javadoc: Package references DOM AST nodes binding is null
Summary: Javadoc: Package references DOM AST nodes binding is null
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 M7   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-10 13:45 EST by Frederic Fusier CLA
Modified: 2004-02-12 15:38 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 2004-02-10 13:45:42 EST
Build I200402050800.

using following example:
/**
 * @see java
 * @see java.util
 */
public class X {}

I got correct DOM AST nodes structure for the doc comment but bindings are null!
Comment 1 Frederic Fusier CLA 2004-02-12 09:53:40 EST
Fixed.

Now package have also binding in DOM/AST javadoc hierarchy.

[jdt-core-dev internal]
As see reference are unfortunately stored as TypeReference by compiler, we 
needed to add the storage of PackageBinding when this kind of syntax was 
encountered in JavadocSingleTypeReference and JavadocQualifiedTypeReference.
Also change DefaultBindingResolver to look at this new field when resolving 
name in method resolveName(Name).

Test case added in jdt.core.tests.model.ASTConverterJavadocTest
Comment 2 Olivier Thomann CLA 2004-02-12 15:38:17 EST
Verified in 200402121200.