Package arez.annotations
Annotation Interface DefaultEqualityComparator
Annotation applied to a type to declare the default
EqualityComparator used by
Observable and Memoize members when they do not explicitly specify an
equalityComparator.
The annotation processor only considers the exact declared type of the observable or memoized value. It does not walk supertypes, interfaces, array component types, or type-use annotations.
An explicit equalityComparator configured on Observable or
Memoize always overrides the type-level default.
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionClass<? extends EqualityComparator>Return the default equality comparator associated with the annotated type.
-
Element Details
-
value
Return the default equality comparator associated with the annotated type.- Returns:
- the comparator type.
-