fun getOriginalKotlinClass(objCClass: ObjCClass): KClass<*>?
fun getOriginalKotlinClass( objCProtocol: ObjCProtocol ): KClass<*>?
If objCProtocol is a protocol generated to Objective-C header for Kotlin class, returns KClass for that original Kotlin class.
Otherwise returns null
.
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlinx.cinterop/get-original-kotlin-class.html