withImportNamed

fun <T : KoImportProvider> List<T>.withImportNamed(name: String, vararg names: String): List<T>

List containing declarations that have at least one import with the specified name(s).

Return

A list containing declarations with at least one of the specified import(s).

Parameters

name

The name of the import to include.

names

The names of additional imports to include.


List containing declarations that have at least one import with the specified name(s).

Return

A list containing declarations with at least one of the specified import(s).

Parameters

names

The names of additional imports to include.