to Type Spec
fun KClass<*>.toTypeSpec(classInspector: ClassInspector? = null): TypeSpec
Content copied to clipboard
fun Class<*>.toTypeSpec(classInspector: ClassInspector? = null): TypeSpec
Content copied to clipboard
Return
a TypeSpec ABI representation of this KClass.
fun TypeElement.toTypeSpec(classInspector: ClassInspector? = null): TypeSpec
Content copied to clipboard
Return
a TypeSpec ABI representation of this TypeElement.
fun KmClass.toTypeSpec(classInspector: ClassInspector?, className: ClassName = createClassName(name)): TypeSpec
Content copied to clipboard
Return
a TypeSpec ABI representation of this KmClass.