withRepresentedTypeOf
fun <T : KoRepresentsTypeProvider> List<T>.withRepresentedTypeOf(kClass: KClass<*>?, vararg kClasses: KClass<*>?): List<T>
List containing declarations that represents the type.
Return
A list containing declarations with types matching the specified Kotlin classes.
Parameters
kClass
The Kotlin class representing the type to include.
kClasses
The Kotlin classes representing the types to include.
fun <T : KoRepresentsTypeProvider> List<T>.withRepresentedTypeOf(kClasses: Collection<KClass<*>?>): List<T>
List containing declarations that represents the type.
Return
A list containing declarations with types matching the specified Kotlin classes.
Parameters
kClasses
The Kotlin classes representing the types to include.