IntentionallyBooleanParameter
annotation class IntentionallyBooleanParameter(val description: String = "", val reason: ExemptionReason = ExemptionReason.OTHER)(source)
Exempts the annotated function or parameter from Boolean parameters in public API.
Apply it when the function name makes the parameter unmistakable, as in setEnabled(enabled: Boolean).
Parameters
description
Why the exemption is applied. Can be empty when reason is ExemptionReason.FOR_BACKWARDS_COMPATIBILITY, ExemptionReason.API_DESIGN, or ExemptionReason.FOR_DEPRECATION.