hasObjectDeclarationOf

abstract override fun hasObjectDeclarationOf(kClass: KClass<*>): Boolean

Deprecated

Will be removed in version 0.19.0

Replace with

sourceDeclaration?.hasObjectDeclarationOf()

Whether declaration has a object declaration of the specified Kotlin class.

Return

true if the declaration has a object declaration matching the specified KClass, false otherwise.

Parameters

kClass

The Kotlin class representing the object declaration to check for.