From db6db667efc3ea82a42f2b55466a012b91a901e6 Mon Sep 17 00:00:00 2001 From: "Vassiliy.Kudryashov" Date: Tue, 20 Dec 2022 17:59:57 +0300 Subject: [PATCH] Trying to restore IntentionHelper: unfortunately, required API is available since 2022.1 only. Comment added. --- .../org/utbot/intellij/plugin/generator/IntentionHelper.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/generator/IntentionHelper.kt b/utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/generator/IntentionHelper.kt index 1cf3c20618..59ca4266eb 100644 --- a/utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/generator/IntentionHelper.kt +++ b/utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/generator/IntentionHelper.kt @@ -18,7 +18,7 @@ import mu.KotlinLogging import org.jetbrains.kotlin.idea.util.application.runReadAction private val logger = KotlinLogging.logger {} - +// The required part of IntelliJ API was changed to com.intellij.codeInsight.daemon.impl.MainPassesRunner that is available since 2022.1 only class IntentionHelper(val project: Project, private val editor: Editor, private val testFile: SmartPsiElementPointer) { fun applyIntentions() { val actions =