withClassOrInterfaceOrObjectNamed

fun <T : KoClassAndInterfaceAndObjectProvider> List<T>.withClassOrInterfaceOrObjectNamed(name: String, vararg names: String, includeNested: Boolean = true, includeLocal: Boolean = true): List<T>

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

Return

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

Parameters

name

The name of the class, interface or object to include.

names

The names of additional classes, interfaces and objects to include.

includeNested

Whether to include nested classes, interfaces and objects.

includeLocal

Whether to include local classes.


fun <T : KoClassAndInterfaceAndObjectProvider> List<T>.withClassOrInterfaceOrObjectNamed(names: Collection<String>, includeNested: Boolean = true, includeLocal: Boolean = true): List<T>

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

Return

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

Parameters

names

The names of additional classes, interfaces and objects to include.

includeNested

Whether to include nested classes, interfaces and objects.

includeLocal

Whether to include local classes.