Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 402402 - Generated comments for generic classes contain links to the (nonexistent) generic type
Summary: Generated comments for generic classes contain links to the (nonexistent) gen...
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: Core (show other bugs)
Version: 4.1   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Ed Merks CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 408617 (view as bug list)
Depends on:
Blocks: 406780 414970
  Show dependency tree
 
Reported: 2013-03-05 03:03 EST by Gordan Vosicki CLA
Modified: 2013-09-10 02:15 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gordan Vosicki CLA 2013-03-05 03:03:11 EST
I think this is self-explanatory, {@link T} points to nothing:

public interface ListFacet<T> extends Facet {

    /**
     * Returns the value of the '<em><b>List</b></em>' containment reference list.
     * The list contents are of type {@link T}.
     * <!-- begin-user-doc -->


Correction: replace {@link T} by "T" or {@link java.lang.Object} (or the real superclass, if there is one).
Comment 1 Ed Merks CLA 2013-05-21 23:05:20 EDT
*** Bug 408617 has been marked as a duplicate of this bug. ***
Comment 2 Ed Merks CLA 2013-05-21 23:06:27 EDT
The idea from the first comment in https://bugs.eclipse.org/bugs/show_bug.cgi?id=408617 is a good one, i.e., this sentence is really not necessary when generating for Java 1.5 so could be conditional in the template.
Comment 3 Gordan Vosicki CLA 2013-05-22 01:45:46 EDT
I agree that the comment is not necessary if the return type contains the type parameter.
Comment 5 Ed Merks CLA 2013-09-10 02:15:06 EDT
The fix is available in the 2.9.1 service release or a 2.10 milestone build.