I declared an inline class
@JvmInline
value class Creator<T>(val type: KClass<T>);
And defined an interface
interface Itf {
fun <T> creator(type: KClass<T>): Creator<T>;
}
I want to implment this interface by generating the bytecode directly by asm(https://asm.ow2.io/).
I found the function name in byte code is “creator-9k1ZQyY”
Here, the suffix “-9k1ZQyY” is added by kotlin compiler
This suffix is very important for bytecode generator.
My question:
If the interface and inline class are stable.
Can kotlin compiler guarantee that suffix is stable too? Does that suffix have nothing to do with the version of kotlin-compiler?