withClassDeclarationOf

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

List containing declarations with class declaration of.

Return

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

Parameters

kClass

The Kotlin class representing the class declaration to include.

kClasses

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


List containing declarations with class declaration of.

Return

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

Parameters

kClasses

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