Tanuj
01/26/2023, 2:21 PMudalov
KmType has classifier which is a sealed class, one of its subclasses is Class, from where you can get the class name. kotlinx-metadata doesn’t do any kind of resolution to bind it to the KmClass, because metadata for that class is usually located in another file. If you need the KmClass, it’s expected that you’ll find the .class file for it (by name) and deserialize the metadata there.