We've created a tool called JReviewer which is for inspecting Java source code; it can be used to automate a great variety of jobs, including the enforcement of project coding standards and the creation of documentation. It can also be of help in detecting error-prone programming, like the old lint program did for C.
JReviewer is a command-line tool that can run predefined tests over Java source code files. However, since programming conventions vary from project to project it is also possible to write new tests and/or change the way that test results are presented.
It is free and so if you want a copy then drop me an email to DL@codework.com
and I will email it to you...the only thing I ask is that you let me have any feedback on what you think of it and whether it could prove useful.