hasClassOrInterfaceDeclarationOf

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

Deprecated

Will be removed in version 0.19.0

Replace with

sourceDeclaration?.hasClassOrInterfaceDeclarationOf()

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

Return

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

Parameters

kClass

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