withClassOrInterfaceNamed

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

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

Return

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

Parameters

name

The name of the class or interface to include.

names

The names of additional classes and interfaces to include.

includeNested

Whether to include nested classes and interfaces.

includeLocal

Whether to include local classes.


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

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

Return

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

Parameters

names

The names of additional classes and interfaces to include.

includeNested

Whether to include nested classes and interfaces.

includeLocal

Whether to include local classes.