to Type Spec
Return
a TypeSpec ABI representation of this KClass.
Parameters
lenient
see docs on KotlinClassMetadata.readStrict and KotlinClassMetadata.readLenient for more details.
Return
a TypeSpec ABI representation of this TypeElement.
Parameters
lenient
see docs on KotlinClassMetadata.readStrict and KotlinClassMetadata.readLenient for more details.
fun KmClass.toTypeSpec(classInspector: ClassInspector?, className: ClassName = createClassName(name)): TypeSpec
Return
a TypeSpec ABI representation of this KmClass.