with Parent Named
fun <T : KoParentProvider> List<T>.withParentNamed(name: String, vararg names: String, indirectParents: Boolean = false): List<T>
List containing declarations that have at least one parent with the specified name(s).
Return
A list containing declarations with at least one of the specified parent(s).
Parameters
name
The name of the parent to include.
names
The names of additional parents to include.
indirect Parents
Whether to include indirect parents.
fun <T : KoParentProvider> List<T>.withParentNamed(names: Collection<String>, indirectParents: Boolean = false): List<T>
List containing declarations that have at least one parent with the specified name(s).
Return
A list containing declarations with at least one of the specified parent(s).
Parameters
names
The names of additional parents to include.
indirect Parents
Whether to include indirect parents.