In an Android-project I'm trying to integrate checkstyle. As I'm using AndroidAnnotations, a few methods have to be declared like this:
@Click(R.id.togglePlay)
protected final void doPauseResume() {
}
They need to be protected in order for the generated class to be able to call them.
How could I teach checkstyle disable a few warnings, based on the @Click annotation, (or more broadly, based on a annotation in the org.androidannotations.annotations package)?
The class has other protected methods, which I want to keep being checked, of course.
Do I need to implement a Filter?