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