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