View source code on GitHub
Non-abstract JUnit test classes should be declared package-private and final
Suppress false positives by adding the suppression annotation
the enclosing element.
Disable this pattern completely by adding
-Xep:JUnitClassModifiers:OFF as compiler argument.
Shows the difference in example code before and after the bug pattern is
Shows code lines which will (not) be flagged by this bug pattern.
//BUG: Diagnostic contains: comment is placed above any violating line.