diff --git a/docs/features/callables.mdx b/docs/features/callables.mdx index afb404d..0ff3c8b 100644 --- a/docs/features/callables.mdx +++ b/docs/features/callables.mdx @@ -23,16 +23,6 @@ Upward functions (called from K/N, implemented on the JVM) are also available th check(topLevelFunction() == 42) ``` -If you wish to have a different JVM name, use the name parameter: - -```kotlin -// Kotlin/Native -@Knee(name = "prettyName") fun uglyName(): Unit = ... - -// Kotlin/JVM -prettyName() -``` - ## Properties For a property to be available on the JVM side, it must be annotated with the `@Knee` annotation. @@ -50,13 +40,3 @@ Both `var` and `val` properties are supported. mutableProp = immutableProp check(mutableProp == immutableProp) ``` - -If you wish to have a different JVM name, use the name parameter: - -```kotlin -// Kotlin/Native -@Knee(name = "prettyName") val uglyName: Int get() = ... - -// Kotlin/JVM -val prettyValue = prettyName -```