IntentionallyExhaustive

@Target(allowedTargets = [AnnotationTarget.CLASS])
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

Properties

Link copied to clipboard
Link copied to clipboard