I'd like to have my checkstyle configured so that it verifies all my javadoc comments start with an upper case letter:
/**
* Hello
Where can I set that up? I think I'll have to enable checkstyle on comments first but I'm not sure how.
And then how do I set up a filter that checks for the occurence of \/\*\*
and then ensures a \s*\*\s[A-Z]+
follows?
EDIT: If What I need is not supported by checkstyle at the moment: How do I set up my own checkstyle modul and include it?
Currently, Checkstyle does not support what you want to get (as I know). But the process to do that should be the following:
org.apache.maven.plugins:maven-checkstyle-plugin
to your Maven2 POM.configLocation
.Checkstyle supports as rules for classes and style:
What you can do (in the long run) is to expand checkstyle, and to give your enhancement to the community, so it may be integrated into Checkstyle itself and the Maven plugin for Checkstyle. Have a look at "Extending Checkstyle", it is not so difficult, I have done that on my own. See for an example the implementation of Checkstyle JavaDoc Style. The difficult part is to put that in the project, and get it everywhere you will need it: Maven, Eclipse, NetBeans, Sonar, ...