IntentionallyWithoutEqualsHashCodeOrToString
Acknowledges that the annotated stateful class deliberately uses identity equality and hashing and the opaque default rendering inherited from kotlin.Any.
The library-api-watchdog compiler plugin warns about publicly visible stateful classes - classes with at least one property backed by a field - that neither declare nor inherit meaningful equals, hashCode, and toString implementations. Apply this annotation to suppress all three warnings when identity semantics and opaque rendering are intended. Use IntentionallyWithoutEquals, IntentionallyWithoutHashCode, or IntentionallyWithoutToString when only one behavior is intentional.
See the check documentation for rationale and examples.
Parameters
why the class deliberately inherits all three implementations from kotlin.Any.
free-form explanation of the exemption. May be empty only when reason explains the exemption on its own (ExemptionReason.FOR_BACKWARDS_COMPATIBILITY, ExemptionReason.API_DESIGN).