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