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