Revert "[spellchecker] review fix: abstract class -> interface"

This reverts commit 4ddb973784368e3f84b6040be3fc43c70d0696e1.

GitOrigin-RevId: 658eca978feba77c317e6388a23297fd586e387d
This commit is contained in:
Denis Mukhametianov
2024-05-16 11:12:31 +02:00
committed by intellij-monorepo-bot
parent c2008ee80d
commit 3ca569417e

View File

@@ -12,7 +12,7 @@ import org.jetbrains.annotations.ApiStatus.Internal
* Extension point for product-wide spellchecking inspection quickfixes customization.
*/
@Internal
interface SpellCheckerQuickFixFactory {
abstract class SpellCheckerQuickFixFactory {
companion object {
private val EP_NAME = ExtensionPointName.create<SpellCheckerQuickFixFactory>("com.intellij.spellchecker.quickFixFactory")
@@ -37,7 +37,7 @@ interface SpellCheckerQuickFixFactory {
}
}
fun createRename(element: PsiElement): LocalQuickFix? = null
fun createChangeToVariantsFixes(element: PsiElement, rangeInElement: TextRange, word: String): List<LocalQuickFix>? = null
fun createSaveToFix(element: PsiElement, rangeInElement: TextRange, word: String, layer: DictionaryLayer?): LocalQuickFix? = null
open fun createRename(element: PsiElement): LocalQuickFix? = null
open fun createChangeToVariantsFixes(element: PsiElement, rangeInElement: TextRange, word: String): List<LocalQuickFix>? = null
open fun createSaveToFix(element: PsiElement, rangeInElement: TextRange, word: String, layer: DictionaryLayer?): LocalQuickFix? = null
}