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