Community
Participate
Working Groups
build 20040210 1) enabled Javadoc diagnosis 2) create the following classes /** */ public class X { /** * @param a aaa * @param b bbb */ public void foo(int a, int b) { } } /** */ public class Y extends X { /** * @param a {@inheritDoc} */ public void foo(int a, int b) { } } Currently there is no problem. Perhaps an error would be signaled because only the doc for param 'a' is inherited. "Javadoc - Missing tag for parameter b"
Note that in following sample: public class Z extends X { /** * Javadoc description {@inheritDoc} * @param a aaaa */ public void foo(int a, int b) { } } compiler must continue to filter missing tag warnings...
Fixed. Verify now that {@inheritedDoc} tag is in doc comment description (ie. first tag element without tag name) to inhibits all missing tag warnings. [jtd-core-internal] Change done in AbstractCommentParser.parseComment(int,int). Test cases added in JavadocTestMixed
Verified in 200405281200