Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 408617 - Javadoc warning when @link references type parameter
Summary: Javadoc warning when @link references type parameter
Status: CLOSED DUPLICATE of bug 402402
Alias: None
Product: EMF
Classification: Modeling
Component: Tools (show other bugs)
Version: 2.9.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Ed Merks CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-21 13:54 EDT by Paul Elder CLA
Modified: 2013-05-22 09:11 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Elder CLA 2013-05-21 13:54:11 EDT
The Javadoc for the getter of a multi-valued reference feature contains a link like the following:

	 * The list contents are of type {@link T}.

If T is a type parameter for the EClass, then the Javadoc compiler gives the following warning:

... MElementContainer.java:61: warning - Tag @link: reference not found: T

Some suggested resolutions can be found in bug 406780 comment 4. 

IMHO, it would be sufficient to not emit the comment if generating code for JDK 5.0 or above, as the list parameter is available in the method signature.
Comment 1 Ed Merks CLA 2013-05-21 23:05:20 EDT

*** This bug has been marked as a duplicate of bug 402402 ***