IntentionallyDataClass

@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class IntentionallyDataClass(val description: String = "", val reason: ExemptionReason = ExemptionReason.OTHER)(source)

Exempts the annotated data class from Data classes in public API.

Apply it when the generated declarations are a stable part of the API contract.

Parameters

description

Properties

Link copied to clipboard
Link copied to clipboard