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