Skip to content

Commit f2ed164

Browse files
Trying to restore IntentionHelper: unfortunately, required API is ava… (#1558)
Trying to restore IntentionHelper: unfortunately, required API is available since 2022.1 only. Comment added.
1 parent 295ede5 commit f2ed164

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/generator/IntentionHelper.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import mu.KotlinLogging
1818
import org.jetbrains.kotlin.idea.util.application.runReadAction
1919

2020
private val logger = KotlinLogging.logger {}
21-
21+
// The required part of IntelliJ API was changed to com.intellij.codeInsight.daemon.impl.MainPassesRunner that is available since 2022.1 only
2222
class IntentionHelper(val project: Project, private val editor: Editor, private val testFile: SmartPsiElementPointer<PsiFile>) {
2323
fun applyIntentions() {
2424
val actions =

0 commit comments

Comments
 (0)