Bug 53757 - Javadoc tag @transient ignored
Summary: Javadoc tag @transient ignored
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 M8   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-04 11:01 EST by Erwin Tratar CLA
Modified: 2004-03-25 12:37 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 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.