Skip to main content Link Search Menu Expand Document (external link)

ImmutablesSortedSetComparator

ERROR

LikelyError

View source code on GitHub

Summary

SortedSet properties of a @Value.Immutable or @Value.Modifiable type must be annotated with @Value.NaturalOrder or @Value.ReverseOrder

Suppression

Suppress false positives by adding the suppression annotation @SuppressWarnings("ImmutablesSortedSetComparator") to the enclosing element.

Disable this pattern completely by adding -Xep:ImmutablesSortedSetComparator:OFF as compiler argument. Learn more.


Copyright © 2017-2023 Picnic Technologies BV