withoutExternalParentOf

fun <T : KoExternalParentProvider> List<T>.withoutExternalParentOf(kClass: KClass<*>, vararg kClasses: KClass<*>, indirectParents: Boolean = false): List<T>

List containing declarations without any external parent of the specified KClass type. The external parent is a parent defined outside the project codebase (defined inside external library).

Return

A list containing declarations without any of the specified external parents.

Parameters

kClass

The Kotlin class representing external parent to exclude.

kClasses

The Kotlin classes representing external parents to exclude.

indirectParents

Whether to include indirect external parents.


fun <T : KoExternalParentProvider> List<T>.withoutExternalParentOf(kClasses: Collection<KClass<*>>, indirectParents: Boolean = false): List<T>

List containing declarations without any external parent of the specified KClass type. The external parent is a parent defined outside the project codebase (defined inside external library).

Return

A list containing declarations without any of the specified external parents.

Parameters

kClasses

The Kotlin classes representing external parents to exclude.

indirectParents

Whether to include indirect external parents.