ImmutableMapRules
SUGGESTION
Simplification
Suppression
Disable all rules by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableMapRules\$).*
as compiler argument.
Table of contents
- ImmutableMapBuilder
- EntryToImmutableMap
- IterableToImmutableMap
- EntryIterableToImmutableMap
- StreamOfMapEntriesToImmutableMap
- IndexIterableToImmutableMap
- TransformMapValuesToImmutableMap
- ImmutableMapOf
- ImmutableMapOf1
- ImmutableMapOf2
- ImmutableMapOf3
- ImmutableMapOf4
- ImmutableMapOf5
- ImmutableMapCopyOfMapsFilterKeys
- ImmutableMapCopyOfMapsFilterValues
ImmutableMapBuilder
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ImmutableMapBuilder")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableMapRules\$ImmutableMapBuilder).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
EntryToImmutableMap
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("EntryToImmutableMap")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableMapRules\$EntryToImmutableMap).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
IterableToImmutableMap
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("IterableToImmutableMap")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableMapRules\$IterableToImmutableMap).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
EntryIterableToImmutableMap
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("EntryIterableToImmutableMap")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableMapRules\$EntryIterableToImmutableMap).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamOfMapEntriesToImmutableMap
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamOfMapEntriesToImmutableMap")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableMapRules\$StreamOfMapEntriesToImmutableMap).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
IndexIterableToImmutableMap
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("IndexIterableToImmutableMap")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableMapRules\$IndexIterableToImmutableMap).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
TransformMapValuesToImmutableMap
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("TransformMapValuesToImmutableMap")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableMapRules\$TransformMapValuesToImmutableMap).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ImmutableMapOf
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ImmutableMapOf")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableMapRules\$ImmutableMapOf).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ImmutableMapOf1
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ImmutableMapOf1")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableMapRules\$ImmutableMapOf1).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ImmutableMapOf2
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ImmutableMapOf2")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableMapRules\$ImmutableMapOf2).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ImmutableMapOf3
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ImmutableMapOf3")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableMapRules\$ImmutableMapOf3).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ImmutableMapOf4
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ImmutableMapOf4")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableMapRules\$ImmutableMapOf4).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ImmutableMapOf5
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ImmutableMapOf5")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableMapRules\$ImmutableMapOf5).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ImmutableMapCopyOfMapsFilterKeys
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ImmutableMapCopyOfMapsFilterKeys")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableMapRules\$ImmutableMapCopyOfMapsFilterKeys).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ImmutableMapCopyOfMapsFilterValues
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ImmutableMapCopyOfMapsFilterValues")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableMapRules\$ImmutableMapCopyOfMapsFilterValues).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.