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