with Object Named
fun <T : KoObjectProvider> List<T>.withObjectNamed(name: String, vararg names: String, includeNested: Boolean = true): List<T>
List containing declarations that have at least one object with the specified name(s).
Return
A list containing declarations with at least one of the specified object(s).
Parameters
name
The name of the object to include.
names
The names of additional objects to include.
include Nested
Whether to include nested objects.
fun <T : KoObjectProvider> List<T>.withObjectNamed(names: Collection<String>, includeNested: Boolean = true): List<T>
List containing declarations that have at least one object with the specified name(s).
Return
A list containing declarations with at least one of the specified object(s).
Parameters
names
The names of additional objects to include.
include Nested
Whether to include nested objects.