withoutParentInterfaceOf

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

List containing declarations without any parent interface of the specified KClass type.

Return

A list containing declarations without any of the specified parent interfaces.

Parameters

kClass

The Kotlin class representing parent interface to exclude.

kClasses

The Kotlin classes representing parent interfaces to exclude.

indirectParents

Whether to include indirect parent interfaces.


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

List containing declarations without any parent interface of the specified KClass type.

Return

A list containing declarations without any of the specified parent interfaces.

Parameters

kClasses

The Kotlin classes representing parent interfaces to exclude.

indirectParents

Whether to include indirect parent interfaces.