hasKotlinTypeDeclarationOf

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

Deprecated

Will be removed in version 0.19.0

Replace with

sourceDeclaration?.hasKotlinTypeDeclarationOf()

Whether declaration has a kotlin type declaration of the specified Kotlin class.

Return

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

Parameters

kClass

The Kotlin class representing the kotlin type declaration to check for.