withAllParentsNamed

fun <T : KoParentProvider> List<T>.withAllParentsNamed(name: String, vararg names: String, indirectParents: Boolean = false): List<T>

List containing declarations that have all specified parents.

Return

A list containing declarations with all specified parent(s).

Parameters

name

The name of the parent to include.

names

The name(s) of the parent(s) to include.

indirectParents

Whether to include indirect parents.


fun <T : KoParentProvider> List<T>.withAllParentsNamed(names: Collection<String>, indirectParents: Boolean = false): List<T>

List containing declarations that have all specified parents.

Return

A list containing declarations with all specified parent(s).

Parameters

names

The name(s) of the parent(s) to include.

indirectParents

Whether to include indirect parents.