IntentionallyWithoutToString
Acknowledges that the annotated class deliberately provides no toString implementation.
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 a toString implementation, because their instances render as the opaque default class-name-with-hash-code, which makes logs and debugger output meaningless. Apply this annotation to suppress the warning when the opaque rendering is intended (for example, when the state is sensitive and must not leak into logs).
See the check documentation for rationale and examples.
Parameters
why the class deliberately has no toString.
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).