JUnitRules
SUGGESTION
Simplification
Suppression
Disable all rules by adding
-XepOpt:Refaster:NamePattern=^(?!JUnitRules\$).*
as compiler argument.
Table of contents
ArgumentsEnumeration
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ArgumentsEnumeration")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!JUnitRules\$ArgumentsEnumeration).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.