Is it possible apply JavadocMethod checker only on methods in interface? (not in implementation classes)
标签:
checkstyle
相关问题
- Problem with Checkstyle: Creating formatter profil
- Using CheckStyle in NetBeans and configuring the C
- checkstyle JavadocType only on interfaces
- Gradle Checkstyle Plugin Console Output
- Difference with Checkstyle and PMD configuration i
相关文章
- Disable all checkstyle checks for a specific java
- Java - Checkstyle - Redundant Throws
- Disable maven checkstyle
- Getting the Checkstyle plug-in in Eclipse to use y
- Using Jenkins and Php Code Sniffer
- CheckStyle checks not been ignored
- Error using checkstyle/google_checks.xml with mave
- Share specific PMD rulesets across multi module ma
If you are using Java 6, you can annotate the implementing method with
@Override
, which will tell the JavadocMethod checker not to require a Javadoc comment. Quoting the JavadocMethod docs:The documentation continues stating that you need Java 6. In Java 5, you can still use
{@inheritdoc}
, which is better than nothing:The built-in Eclipse code formatter can automatically add the
@Override
annotations for you, so this should be pretty much what you need.We had plan to implement it also, keep at eye on issue, not sure when we fix it, or welcome to provide patch we already have full infrastructure for development.