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