Can I get warnings from javadoc when something is missing in javadoc comments?

By chance, I may forget to describe some parameters or throw an exception (or something else) when documenting methods or classes, etc.

Is it possible to run javadoc in such a way that it warns me of the shortcomings of the documentation elements?

(I use ant script to create documentation)

+5
source share
4 answers

Use Checkstyle ! It has awesome Ant integration and supports 100 other important checks on your source code.

JavadocType checker is what you need.

+2
source

- javadoc, .

, Eclipse,

→ → Java → → Javadoc

Eclipse .

+8

Doc Check Doclet . , , .

. - Sun.

+2

, , Eclipse , , "", , .

+1

All Articles