ImmutableSetRules
SUGGESTION
Simplification
Suppression
Disable all rules by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableSetRules\$).*
as compiler argument.
Table of contents
- ImmutableSetBuilder
- IterableToImmutableSet
- StreamToImmutableSet
- ImmutableSetCopyOfSetView
- ImmutableSetOf
- ImmutableSetOf1
- ImmutableSetOf2
- ImmutableSetOf3
- ImmutableSetOf4
- ImmutableSetOf5
- SetsDifference
- SetsDifferenceMap
- SetsDifferenceMultimap
- SetsIntersection
- SetsIntersectionMap
- SetsIntersectionMultimap
- SetsUnion
ImmutableSetBuilder
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ImmutableSetBuilder")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableSetRules\$ImmutableSetBuilder).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
IterableToImmutableSet
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("IterableToImmutableSet")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableSetRules\$IterableToImmutableSet).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamToImmutableSet
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamToImmutableSet")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableSetRules\$StreamToImmutableSet).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ImmutableSetCopyOfSetView
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ImmutableSetCopyOfSetView")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableSetRules\$ImmutableSetCopyOfSetView).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ImmutableSetOf
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ImmutableSetOf")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableSetRules\$ImmutableSetOf).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ImmutableSetOf1
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ImmutableSetOf1")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableSetRules\$ImmutableSetOf1).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ImmutableSetOf2
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ImmutableSetOf2")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableSetRules\$ImmutableSetOf2).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ImmutableSetOf3
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ImmutableSetOf3")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableSetRules\$ImmutableSetOf3).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ImmutableSetOf4
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ImmutableSetOf4")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableSetRules\$ImmutableSetOf4).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ImmutableSetOf5
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ImmutableSetOf5")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableSetRules\$ImmutableSetOf5).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
SetsDifference
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("SetsDifference")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableSetRules\$SetsDifference).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
SetsDifferenceMap
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("SetsDifferenceMap")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableSetRules\$SetsDifferenceMap).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
SetsDifferenceMultimap
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("SetsDifferenceMultimap")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableSetRules\$SetsDifferenceMultimap).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
SetsIntersection
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("SetsIntersection")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableSetRules\$SetsIntersection).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
SetsIntersectionMap
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("SetsIntersectionMap")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableSetRules\$SetsIntersectionMap).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
SetsIntersectionMultimap
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("SetsIntersectionMultimap")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableSetRules\$SetsIntersectionMultimap).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
SetsUnion
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("SetsUnion")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableSetRules\$SetsUnion).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.