symbolToEntityName

abstract fun symbolToEntityName(symbol: Symbol, meaning: SymbolFlags, enclosingDeclaration: Node?, flags: NodeBuilderFlags?): EntityName?(source)

Note that the resulting nodes cannot be checked.