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