hasExternalDeclarationOf

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

Deprecated

Will be removed in version 0.19.0

Replace with

sourceDeclaration?.hasExternalDeclarationOf()

Whether declaration has a external type declaration of the specified Kotlin class. An external type refers to a type that is defined outside the project's codebase. for e.g. in external library.

Return

true if the declaration has a external type declaration (type defined outside the project codebase for e.g. in external library) matching the specified KClass, false otherwise.

Parameters

kClass

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