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