IntentionallyExposedInternalApiForBackwardsCompatibility
annotation class IntentionallyExposedInternalApiForBackwardsCompatibility(val description: String = "")(source)
Exempts the annotated declaration, parameter, or type usage from Public types marked as internal API. On a class, it covers the supertypes and the type parameter bounds, not the members.
Apply it to a published declaration. Both fixes break its users: the removal of the type from the signature, and the internal API annotation on the declaration. A new declaration must not expose an internal API type. Backwards compatibility is the only accepted reason, so the annotation doesn't have an ExemptionReason.
Parameters
description
Optional context for the exemption.