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