withInterfaceOrObjectNamed

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

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

Return

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

Parameters

name

The name of the interface or object to include.

names

The names of additional interfaces and objects to include.

includeNested

Whether to include nested interfaces and objects.


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

Return

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

Parameters

names

The names of additional interfaces and objects to include.

includeNested

Whether to include nested interfaces and objects.