Bug 53757

Summary: Javadoc tag @transient ignored
Product: [Eclipse Project] JDT Reporter: Erwin Tratar <tratar>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.0 M8   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Erwin Tratar CLA 2004-03-04 11:01:45 EST
Following Javadoc is not parsed correctly:

/**
 * @transient
 */

aDeclaration.getJavadoc().tags() returns no elements

BTW: @transient is a custom tag used by our system.
Comment 1 Philipe Mulet CLA 2004-03-04 16:10:37 EST
Tag is a keyword in the language... probably causing this issue.
We should still be able to process it correctly (either not tokenizing the tag, 
or allowing keywords and converting them to equivalent source after the fact).
Comment 2 Erwin Tratar CLA 2004-03-05 03:17:45 EST
a similar problem (with tokenizing/interpreting the tokens) might be bug #53075
Comment 3 Frederic Fusier CLA 2004-03-05 13:52:04 EST
Fixed.

Now even tags with keyword names are correctly parsed and put in Javadoc tags.

[jdt-core-internal]
Call parseTag() even for all possible keywords in parseComment(int,int) of 
AbstractCommentParser.

Test case added in jdt.core.tests.dom.ASTConverterJavadocTests
Comment 4 Jerome Lanneluc CLA 2004-03-25 12:37:36 EST
Verified in build I200403250800.