Bug 79904 - [1.5][dom][javadoc] TagElement range not complete for type parameter tags
Summary: [1.5][dom][javadoc] TagElement range not complete for type parameter tags
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M4   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-01 13:14 EST by Martin Aeschlimann CLA
Modified: 2004-12-14 11:58 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Aeschlimann CLA 2004-12-01 13:14:23 EST
20041201

In the following code is the node range of the TagElement not complete: It only
contains '@param <A'

/**
 * @param <A>
 */
class E<A> {
}
Comment 1 Jim des Rivieres CLA 2004-12-02 14:31:32 EST
Underlying this is the fact that J2SE 5 allows @parameter tag elements on 
class and interface declarations.  "@parameter <X>" should parse the same was 
as on method declarations.
Comment 2 Frederic Fusier CLA 2004-12-05 12:08:47 EST
DocCommentParser already parses @param <X> tags in class javadoc the same way it
does in method javadoc. So, the problem is the same in both cases...
Comment 3 Frederic Fusier CLA 2004-12-06 09:08:00 EST
Fixed.

Range now includes closing '>'.

|jdt-core-internal]
Changes done in AbstractCommentParser.parseParam().
Test case added: ASTConverterJavadocTests#testBug79904()
Comment 4 Olivier Thomann CLA 2004-12-14 11:58:38 EST
Verified in 200412140800