IntentionallyMangledJvmName
Acknowledges that the annotated declaration deliberately compiles to a JVM shape that Java sources can't call.
The library-api-watchdog compiler plugin warns, in JVM compilations, about publicly visible functions, properties, and constructors that have a value class in their signature - as a parameter or receiver type, or as the return type of a class member. The compiler mangles the JVM name of such entry points with a hash suffix (and hides such constructors behind a synthetic one), so Kotlin users are unaffected but Java users can't call them. Prefer giving the compiled code a Java-callable shape with @JvmName (@get:/@set:JvmName on property accessors) or @JvmExposeBoxed, and apply this annotation to suppress the warning when the declaration is deliberately Kotlin-only. On a class it covers every declaration inside. On a primary constructor val/var parameter it covers the property created from it.
See the check documentation for rationale and examples.
Parameters
why the Java-inaccessible shape is intended.
free-form explanation of the exemption. May be empty only when reason explains the exemption on its own (ExemptionReason.FOR_BACKWARDS_COMPATIBILITY, ExemptionReason.API_DESIGN).