withAllParentInterfacesOf

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

List containing declarations that have all parent interfaces of the specified KClass type.

Return

A list containing declarations that have all parent interfaces of the specified KClass type.

Parameters

kClass

The Kotlin class representing parent interface to include.

kClasses

The Kotlin classes representing parent interfaces to include.

indirectParents

Whether to include indirect parent interfaces.


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

List containing declarations that have all parent interfaces of the specified KClass type.

Return

A list containing declarations that have all parent interfaces of the specified KClass type.

Parameters

kClasses

The Kotlin classes representing parent interfaces to include.

indirectParents

Whether to include indirect parent interfaces.