hasInterfaceOrObjectDeclarationOf

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

Deprecated

Will be removed in version 0.19.0

Replace with

sourceDeclaration?.hasInterfaceOrObjectDeclarationOf()

Whether declaration has an interface or an object declaration of the specified Kotlin class.

Return

true if the declaration has an interface or an object declaration matching the specified KClass, false otherwise.

Parameters

kClass

The Kotlin class representing the interface or object declaration to check for.