typeToTypeNode

abstract fun typeToTypeNode(type: Type, enclosingDeclaration: Node?, flags: NodeBuilderFlags?): TypeNode?(source)

Note that the resulting nodes cannot be checked.