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