diff --git a/idea/idea-analysis/src/org/jetbrains/kotlin/idea/quickfix/KotlinIntentionActionsFactory.kt b/idea/idea-frontend-independent/src/org/jetbrains/kotlin/idea/quickfix/KotlinIntentionActionsFactory.kt similarity index 93% rename from idea/idea-analysis/src/org/jetbrains/kotlin/idea/quickfix/KotlinIntentionActionsFactory.kt rename to idea/idea-frontend-independent/src/org/jetbrains/kotlin/idea/quickfix/KotlinIntentionActionsFactory.kt index 1e7ada56f70..263d105276c 100644 --- a/idea/idea-analysis/src/org/jetbrains/kotlin/idea/quickfix/KotlinIntentionActionsFactory.kt +++ b/idea/idea-frontend-independent/src/org/jetbrains/kotlin/idea/quickfix/KotlinIntentionActionsFactory.kt @@ -1,5 +1,5 @@ /* - * Copyright 2010-2019 JetBrains s.r.o. and Kotlin Programming Language contributors. + * Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ @@ -9,7 +9,7 @@ import com.intellij.codeInsight.intention.IntentionAction import org.jetbrains.kotlin.diagnostics.Diagnostic import org.jetbrains.kotlin.psi.KtCodeFragment -abstract class KotlinIntentionActionsFactory { +abstract class KotlinIntentionActionsFactory: QuickFixFactory { protected open fun isApplicableForCodeFragment(): Boolean = false protected abstract fun doCreateActions(diagnostic: Diagnostic): List diff --git a/idea/src/org/jetbrains/kotlin/idea/quickfix/QuickFixActionBase.kt b/idea/idea-frontend-independent/src/org/jetbrains/kotlin/idea/quickfix/QuickFixActionBase.kt similarity index 96% rename from idea/src/org/jetbrains/kotlin/idea/quickfix/QuickFixActionBase.kt rename to idea/idea-frontend-independent/src/org/jetbrains/kotlin/idea/quickfix/QuickFixActionBase.kt index 24b01dd8499..9a2870b785b 100644 --- a/idea/src/org/jetbrains/kotlin/idea/quickfix/QuickFixActionBase.kt +++ b/idea/idea-frontend-independent/src/org/jetbrains/kotlin/idea/quickfix/QuickFixActionBase.kt @@ -1,5 +1,5 @@ /* - * Copyright 2010-2019 JetBrains s.r.o. and Kotlin Programming Language contributors. + * Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */