withoutClassesAndInterfacesAndObjects
fun <T : KoClassAndInterfaceAndObjectProvider> List<T>.withoutClassesAndInterfacesAndObjects( includeNested: Boolean = true, includeLocal: Boolean = true): List<T>
List containing declarations with no classes, interfaces and objects.
Return
A list containing declarations with no classes, interfaces and objects.
Parameters
includeNested
Whether to include nested classes, interfaces and objects.
includeLocal
Whether to include local classes.
fun <T : KoClassAndInterfaceAndObjectProvider> List<T>.withoutClassesAndInterfacesAndObjects( includeNested: Boolean = true, includeLocal: Boolean = true, predicate: (List<KoClassAndInterfaceAndObjectDeclaration>) -> Boolean): List<T>
List containing declarations without classes, interfaces and objects declarations satisfying the predicate.
Return
A list containing declarations without classes, interfaces and objects declarations 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 the list of classes, interfaces and objects declarations.