withAllClassesAndObjectsNamed

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

List containing declarations that have all specified classes and objects.

Return

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

Parameters

name

The name of the class or object to include.

names

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

includeNested

Whether to include nested classes and objects.

includeLocal

Whether to include local classes.


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

List containing declarations that have all specified classes and objects.

Return

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

Parameters

names

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

includeNested

Whether to include nested classes and objects.

includeLocal

Whether to include local classes.