withClassOrObjectDeclarationOf

fun <T : KoDeclarationCastProvider> List<T>.withClassOrObjectDeclarationOf(kClass: KClass<*>, vararg kClasses: KClass<*>): List<T>

List containing declarations with class or object declaration of.

Return

A list containing declarations with the class or object declaration of the specified Kotlin class(es).

Parameters

kClass

The Kotlin class representing the class or object declaration to include.

kClasses

The Kotlin class(es) representing the class or object declaration(s) to include.


List containing declarations with class or object declaration of.

Return

A list containing declarations with the class or object declaration of the specified Kotlin class(es).

Parameters

kClasses

The Kotlin class(es) representing the class or object declaration(s) to include.