diff --git a/idea/idea-core/src/org/jetbrains/kotlin/idea/core/extension/KotlinIndicesHelperExtension.kt b/idea/idea-core/src/org/jetbrains/kotlin/idea/core/extension/KotlinIndicesHelperExtension.kt index 4bf6d478c39..969a64e3619 100644 --- a/idea/idea-core/src/org/jetbrains/kotlin/idea/core/extension/KotlinIndicesHelperExtension.kt +++ b/idea/idea-core/src/org/jetbrains/kotlin/idea/core/extension/KotlinIndicesHelperExtension.kt @@ -38,7 +38,11 @@ interface KotlinIndicesHelperExtension { appendExtensionCallables(consumer, moduleDescriptor, receiverTypes, nameFilter) } - @Deprecated("Use the appendExtensionCallables() with the 'file' parameter instead.") + @Deprecated( + "Override the appendExtensionCallables() with the 'lookupLocation' parameter instead. " + + "This method can then throw an exception. " + + "See 'DebuggerFieldKotlinIndicesHelperExtension' as an example." + ) fun appendExtensionCallables( consumer: MutableList, moduleDescriptor: ModuleDescriptor,