withAllClassesAndInterfacesAndObjects

fun <T : KoClassAndInterfaceAndObjectProvider> List<T>.withAllClassesAndInterfacesAndObjects(    includeNested: Boolean = true,     includeLocal: Boolean = true,     predicate: (KoClassAndInterfaceAndObjectDeclaration) -> Boolean): List<T>

List containing declarations that have all classes, interfaces and objects satisfying the provided predicate.

Return

A filtered list containing declarations with all classes, interfaces and objects satisfying the predicate.

Parameters

includeNested

Whether to include nested classes, interfaces and objects.

includeLocal

Whether to include local classes.

predicate

A function that defines the condition to be met by all class, interfaces and objects declarations.