IntentionallyExhaustive
annotation class IntentionallyExhaustive(val description: String = "", val reason: ExemptionReason = ExemptionReason.OTHER)(source)
Exempts the annotated enum or sealed hierarchy from Exhaustive public API.
Apply it when the set of entries or subtypes is a stable 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.