withSourceTypeOf

fun <T : KoSourceTypeProvider> List<T>.withSourceTypeOf(kClass: KClass<*>, vararg kClasses: KClass<*>): List<T>

List containing declarations with source type of.

Return

A list containing declarations with the source type matching any of the specified types.

Parameters

kClass

The Kotlin class representing the source type to include.

kClasses

The Kotlin classes representing the source types to include.


List containing declarations with source type of.

Return

A list containing declarations with the source type matching any of the specified types.

Parameters

kClasses

The Kotlin classes representing the source types to include.