From 9782f6808d40e972ca89196377c94bf12b3a3e21 Mon Sep 17 00:00:00 2001 From: Yan Zhulanow Date: Mon, 20 Jan 2020 17:38:26 +0900 Subject: [PATCH] Minor: Fix deprecation notice in KotlinIndicesHelperExtension --- .../idea/core/extension/KotlinIndicesHelperExtension.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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,