问题
i need a PMD java class for checking comments on java code. I am working on MyEclipse IDE. any idea?
回答1:
You don't need a PMD rule, you can use the internal compiler to raise missing documentation as warning (or even error).
Look under Eclipse preferences -> Java -> Compiler -> JavaDoc
来源:https://stackoverflow.com/questions/3965937/pmd-rule-for-checking-java-code-for-comments