Commit 3ca56941 authored by Denis Mukhametianov's avatar Denis Mukhametianov Committed by intellij-monorepo-bot
Browse files

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

This reverts commit 4ddb973784368e3f84b6040be3fc43c70d0696e1.

GitOrigin-RevId: 658eca978feba77c317e6388a23297fd586e387d
parent c2008ee8
Branches unavailable Tags unavailable
No related merge requests found
Showing with 4 additions and 4 deletions
+4 -4
......@@ -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
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment