with Parent Class Named
fun <T : KoParentClassProvider> List<T>.withParentClassNamed(name: String, vararg names: String, indirectParents: Boolean = false): List<T>
List containing declarations that have parent class with the specified name(s).
Return
A list containing declarations with the specified parent class(es).
Parameters
name
The name of the parent class to include.
names
The names of additional parent classes to include.
indirect Parents
Whether to include indirect parent classes.
fun <T : KoParentClassProvider> List<T>.withParentClassNamed(names: Collection<String>, indirectParents: Boolean = false): List<T>
List containing declarations that have parent class with the specified name(s).
Return
A list containing declarations with the specified parent class(es).
Parameters
names
The names of additional parent classes to include.
indirect Parents
Whether to include indirect parent classes.