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