IntentionallyMutableCollection
annotation class IntentionallyMutableCollection(val description: String = "", val reason: ExemptionReason = ExemptionReason.OTHER)(source)
Exempts the annotated declaration, parameter, or type usage from Mutable collections in public API.
Apply it when the shared mutable collection is part of the API contract.
Parameters
description
Why the exemption is applied. Can be empty when reason is ExemptionReason.FOR_BACKWARDS_COMPATIBILITY, ExemptionReason.API_DESIGN, or ExemptionReason.FOR_DEPRECATION.