Check code conventions

Anyone seen or have any ideas about using javadoc to check code for code conventions compliance? I read about use of it to report source where variables are not declareed private (http://www.smotricz.com/kabutz/Issue035.html) - it might be interesting to apply this to other conventions such as variable and method naming.

[336 byte] By [eharrow] at [2007-9-26 13:01:36]
# 1

No ideas here. We have a DocCheck doclet, but that checks only doc comments, not the

code itself: http://java.sun.com/javadoc/doccheck

A doclet based on javadoc 1.3.x could only check the *declarations* of code and not its

implementation, because it does not have access to the implementation through the

Doclet API. With 1.4, the Doclet API gives the source position (file, line number) of the

code, which a doclet could then access and check the implementation.

-Doug Kramer

Javadoc team

dkramer at 2007-7-2 12:52:24 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...