with Parent Interface Of
fun <T : KoParentInterfaceProvider> List<T>.withParentInterfaceOf(kClass: KClass<*>, vararg kClasses: KClass<*>, indirectParents: Boolean = false): List<T>
List containing declarations that have at least one parent interface of the specified KClass
type.
Return
A list containing declarations with at least one parent interface of the specified KClass
type.
Parameters
k Class
The Kotlin class representing parent interface to include.
k Classes
The Kotlin classes representing parent interfaces to include.
indirect Parents
Whether to include indirect parent interfaces.
fun <T : KoParentInterfaceProvider> List<T>.withParentInterfaceOf(kClasses: Collection<KClass<*>>, indirectParents: Boolean = false): List<T>
List containing declarations that have at least one parent interface of the specified KClass
type.
Return
A list containing declarations with at least one parent interface of the specified KClass
type.
Parameters
k Classes
The Kotlin classes representing parent interfaces to include.
indirect Parents
Whether to include indirect parent interfaces.