withClassOrInterfaceDeclarationOf
fun <T : KoDeclarationCastProvider> List<T>.withClassOrInterfaceDeclarationOf(kClass: KClass<*>, vararg kClasses: KClass<*>): List<T>
List containing declarations with class or interface declaration of.
Return
A list containing declarations with the class or interface declaration of the specified Kotlin class(es).
Parameters
kClass
The Kotlin class representing the class or interface declaration to include.
kClasses
The Kotlin class(es) representing the class or interface declaration(s) to include.
fun <T : KoDeclarationCastProvider> List<T>.withClassOrInterfaceDeclarationOf(kClasses: Collection<KClass<*>>): List<T>
List containing declarations with class or interface declaration of.
Return
A list containing declarations with the class or interface declaration of the specified Kotlin class(es).
Parameters
kClasses
The Kotlin class(es) representing the class or interface declaration(s) to include.