import

fun MType.import(): String

Generates a short name for the given MType

Record the proper import for the type. Type arguments will be imported as wll.

fun MType.import(function: String): String
fun TypeName.import(function: String): String

Imports a top level function, returns the shortened name

fun TypeName.import(): String

Generates a short name for the given TypeName

Record the proper import for the type. Type arguments will be imported as wll.