Community
Participate
Working Groups
I have the following interfaces: public interface SelectControl<V, R extends Component<?>, C extends SelectControl<V, R, C>> extends Control<SelectModel<V>, C> { public interface ValueRepresentationStrategy<VV, RR extends Component<?>> extends ComponentFactory<VV, RR> { public String getID(final VV value); } } I add the following comment line to the getID() method: /**This value must be equal to the ID of the component returned by the {@link ComponentFactory#createComponent(V)} method.*/ (The @link used Eclipse completion to generate the V argument.) This creates a "Missing code implementation in the compiler" mark on line 1 in the Eclipse IDE---presumably because @link references V (from the enclosing interface) rather than VV (from the nested interface), and the former has nothing to do with ComponentFactory. So I change the comment line to: /**This value must be equal to the ID of the component returned by the {@link ComponentFactory#createComponent(VV)} method.*/ Everything compiles, but Eclipse now thinks my JavaDoc reference is incorrect. Garret
Looks like dup of bug 101283
I confirm this is a duplicate *** This bug has been marked as a duplicate of 101283 ***
Bug 83127 stated that method reference in @see or @link tags with explicit type should not use type variables but their substitute instead as javadoc.exe does. So, in this test case, correct @link should be: /**This value must be equal to the ID of the component returned by the {@link ComponentFactory#createComponent(Object)} method.*/
Move to JDT/UI as code completion in javadoc is done in UI land...
Moving all javadoc code assist bugs to jdt.core so they can be handled in the new jdt.core implementation.
*** This bug has been marked as a duplicate of 87868 ***