diff --git a/spellchecker/src/com/intellij/spellchecker/quickfixes/SpellCheckerQuickFixFactory.kt b/spellchecker/src/com/intellij/spellchecker/quickfixes/SpellCheckerQuickFixFactory.kt index bfee05863ee2..e0adb6294efd 100644 --- a/spellchecker/src/com/intellij/spellchecker/quickfixes/SpellCheckerQuickFixFactory.kt +++ b/spellchecker/src/com/intellij/spellchecker/quickfixes/SpellCheckerQuickFixFactory.kt @@ -9,7 +9,7 @@ import com.intellij.spellchecker.DictionaryLayer import org.jetbrains.annotations.ApiStatus.Internal @Internal -abstract class SpellCheckerQuickFixFactory { +interface SpellCheckerQuickFixFactory { companion object { private val EP_NAME = ExtensionPointName.create("com.intellij.spellchecker.quickFixFactory") @@ -34,7 +34,7 @@ abstract class SpellCheckerQuickFixFactory { } } - open fun createRename(element: PsiElement): LocalQuickFix? = null - open fun createChangeToVariantsFixes(element: PsiElement, rangeInElement: TextRange, word: String): List? = null - open fun createSaveToFix(element: PsiElement, rangeInElement: TextRange, word: String, layer: DictionaryLayer?): LocalQuickFix? = null + fun createRename(element: PsiElement): LocalQuickFix? = null + fun createChangeToVariantsFixes(element: PsiElement, rangeInElement: TextRange, word: String): List? = null + fun createSaveToFix(element: PsiElement, rangeInElement: TextRange, word: String, layer: DictionaryLayer?): LocalQuickFix? = null } \ No newline at end of file