SuppressWarningsを検出
SuppressWarningsアノテーションを使って、問題を隠しちゃう人のソースをチェックするときに利用するHack。まあ、目新しさはありませんが。
/** * @when * annotation.type <= {@link SuppressWarnings} */ public void found(CtAnnotationInstance<?> annotation, Messager messager) { ... }
SuppressWarningsアノテーションを使って、問題を隠しちゃう人のソースをチェックするときに利用するHack。まあ、目新しさはありませんが。
/** * @when * annotation.type <= {@link SuppressWarnings} */ public void found(CtAnnotationInstance<?> annotation, Messager messager) { ... }