withAllClassesAndInterfacesNamed

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

List containing declarations that have all specified classes and interfaces.

Return

A list containing declarations with all specified class(es) and interface(s).

Parameters

name

The name of the class or interface to include.

names

The name(s) of the class(es) and interface(s) to include.

includeNested

Whether to include nested classes and interfaces.

includeLocal

Whether to include local classes.


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

List containing declarations that have all specified classes and interfaces.

Return

A list containing declarations with all specified class(es) and interface(s).

Parameters

names

The name(s) of the class(es) and interface(s) to include.

includeNested

Whether to include nested classes and interfaces.

includeLocal

Whether to include local classes.