Bug 79791 - [5.0] Javadoc checking: tag for type parameter not recognized?
Summary: [5.0] Javadoc checking: tag for type parameter not recognized?
Status: RESOLVED INVALID
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: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-30 12:19 EST by Martin Aeschlimann CLA
Modified: 2004-11-30 12:33 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 Martin Aeschlimann CLA 2004-11-30 12:19:34 EST
20041130

Not sure if I already understood how to write 5.0 javadoc, but I would expect
this to be ok:
(the JDT compiler doens't like it yet)

/**
 * @param A my type param
 */
class Foo<A> {
}

and 

/**
 * @param A my type param
 */
<A> void foo() {
}
Comment 1 Frederic Fusier CLA 2004-11-30 12:33:42 EST
Martin, please have a look on javadoc 5.0 specification (you'll fin link in bug
70891).

Syntax for type parameters should be written as follow:
/**
 * @param <A> my type param
 */
class Foo<A> {
}

and 

/**
 * @param <A> my type param
 */
<A> void foo() {
}