hasPropertyDeclarationOf

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

Deprecated

Will be removed in version 0.19.0

Replace with

sourceDeclaration?.hasPropertyDeclarationOf()

Whether declaration has a property declaration of the specified Kotlin property.

Return

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

Parameters

kClass

The Kotlin class representing the property declaration to check for.