ImmutableEnumSetRules
SUGGESTION
Simplification
Suppression
Disable all rules by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableEnumSetRules\$).*
as compiler argument.
Table of contents
SetsImmutableEnumSetIterable
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("SetsImmutableEnumSetIterable")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableEnumSetRules\$SetsImmutableEnumSetIterable).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
SetsImmutableEnumSetArraysAsList
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("SetsImmutableEnumSetArraysAsList")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableEnumSetRules\$SetsImmutableEnumSetArraysAsList).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
SetsImmutableEnumSet1
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("SetsImmutableEnumSet1")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableEnumSetRules\$SetsImmutableEnumSet1).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
SetsImmutableEnumSet2
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("SetsImmutableEnumSet2")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableEnumSetRules\$SetsImmutableEnumSet2).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
SetsImmutableEnumSet3
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("SetsImmutableEnumSet3")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableEnumSetRules\$SetsImmutableEnumSet3).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
SetsImmutableEnumSet4
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("SetsImmutableEnumSet4")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableEnumSetRules\$SetsImmutableEnumSet4).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
SetsImmutableEnumSet5
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("SetsImmutableEnumSet5")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableEnumSetRules\$SetsImmutableEnumSet5).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
SetsImmutableEnumSet6
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("SetsImmutableEnumSet6")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableEnumSetRules\$SetsImmutableEnumSet6).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
SetsImmutableEnumSetVarArgs
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("SetsImmutableEnumSetVarArgs")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableEnumSetRules\$SetsImmutableEnumSetVarArgs).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamToImmutableEnumSet
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamToImmutableEnumSet")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableEnumSetRules\$StreamToImmutableEnumSet).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.