Checkstyle warns when I have a public method without javadoc, which is nice! When I override a public method I don't get the warning because the javadoc is already available in the parent class for the method.
Now I have an other annotation for my method for example @MyEvent
. Now I do get the warning but don't want it because the annotation says enough. Can I exclude warnings for methods with a specific annotation?
There are some solutions that involve adding stuff to my code like @SuppressWarnings
or comments like // CHECKSTYLE.OFF
but this does not make my code nicer, i could instead just add the javadoc. So I'm looking for a configuration level solution.