Community
Participate
Working Groups
It would be nice to be able to remove unused @param values in the javadoc and to add any missing @param values in public methods using the new formatter! The comment for the missing @params should be configurable so that I can say that it should generate @param x TODO: Comment ME! for example!
This isn't something that a formatter should do. A formatter doesn't fix errors as well ;-).
*** Bug 58699 has been marked as a duplicate of this bug. ***
Also 'Generate element comments' clean up option --- Javadoc ------------------------------------ [ ] Add element comments Configure... (link to template p page) [ ] Types [ ] Files [ ] Methods [ ] Constructors [ ] Fields [ ] Add missing javadoc tags Configure... (Bug 194170) [ ] @param [ ] @return [ ] @throws [ ] Remove unnecessary javadoc tags ------------------------------------------------
I think only the following clean ups would be useful: - Remove unnecessary javadoc tags - Add (replace?) File comments (add copyright header) - Add (replace?) Type comments (add @since tag) Replacing missing comments with a dummy comment is certainly nothing we should provide.
> - Add (replace?) Type comments (add @since tag) would be nice to see this in conjunction with bug 246067: [code templates] provide a since tag argument resolver