with Class Named
fun <T : KoClassProvider> List<T>.withClassNamed(name: String, vararg names: String, includeNested: Boolean = true, includeLocal: Boolean = true): List<T>
List containing declarations that have at least one class with the specified name(s).
Return
A list containing declarations with at least one of the specified class(s).
Parameters
name
The name of the class to include.
names
The names of additional classes to include.
include Nested
Whether to include nested classes.
include Local
Whether to include local classes.
fun <T : KoClassProvider> List<T>.withClassNamed(names: Collection<String>, includeNested: Boolean = true, includeLocal: Boolean = true): List<T>
List containing declarations that have at least one class with the specified name(s).
Return
A list containing declarations with at least one of the specified class(s).
Parameters
names
The names of additional classes to include.
include Nested
Whether to include nested classes.
include Local
Whether to include local classes.