withoutParentClass

List containing declarations without direct parent class.

Return

A list containing declarations with none direct parent class.


fun <T : KoParentClassProvider> List<T>.withoutParentClass(indirectParents: Boolean = false, predicate: (KoParentDeclaration) -> Boolean): List<T>

List containing declarations without the specified parent class.

Return

A list containing declarations without the specified parent class (or none parent class if predicate is null).

Parameters

indirectParents

Whether to include indirect parent classes.

predicate

The predicate function to determine if a declaration parent class satisfies a condition.