withInterfaceNamed

fun <T : KoInterfaceProvider> List<T>.withInterfaceNamed(name: String, vararg names: String, includeNested: Boolean = true): List<T>

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

Return

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

Parameters

name

The name of the interface to include.

names

The names of additional interfaces to include.

includeNested

Whether to include nested interfaces.


fun <T : KoInterfaceProvider> List<T>.withInterfaceNamed(names: Collection<String>, includeNested: Boolean = true): List<T>

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

Return

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

Parameters

names

The names of additional interfaces to include.

includeNested

Whether to include nested interfaces.