ImmutableListRules
SUGGESTION
Simplification
Suppression
Disable all rules by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableListRules\$).*
as compiler argument.
Table of contents
ImmutableListBuilder
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ImmutableListBuilder")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableListRules\$ImmutableListBuilder).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
IterableToImmutableList
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("IterableToImmutableList")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableListRules\$IterableToImmutableList).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamToImmutableList
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamToImmutableList")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableListRules\$StreamToImmutableList).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ImmutableListSortedCopyOf
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ImmutableListSortedCopyOf")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableListRules\$ImmutableListSortedCopyOf).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ImmutableListSortedCopyOfWithCustomComparator
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ImmutableListSortedCopyOfWithCustomComparator")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableListRules\$ImmutableListSortedCopyOfWithCustomComparator).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamToDistinctImmutableList
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamToDistinctImmutableList")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableListRules\$StreamToDistinctImmutableList).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ImmutableListOf
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ImmutableListOf")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableListRules\$ImmutableListOf).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ImmutableListOf1
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ImmutableListOf1")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableListRules\$ImmutableListOf1).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ImmutableListOf2
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ImmutableListOf2")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableListRules\$ImmutableListOf2).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ImmutableListOf3
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ImmutableListOf3")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableListRules\$ImmutableListOf3).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ImmutableListOf4
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ImmutableListOf4")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableListRules\$ImmutableListOf4).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ImmutableListOf5
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ImmutableListOf5")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!ImmutableListRules\$ImmutableListOf5).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.