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