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