mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 15:06:56 +07:00
[spellchecker] review fix: abstract class -> interface
GitOrigin-RevId: a60c94d5adef5d40472e41f67b345d60a7b7b4ca
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7ad7377de7
commit
c400f3c23f
@@ -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<SpellCheckerQuickFixFactory>("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<LocalQuickFix>? = 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<LocalQuickFix>? = null
|
||||
fun createSaveToFix(element: PsiElement, rangeInElement: TextRange, word: String, layer: DictionaryLayer?): LocalQuickFix? = null
|
||||
}
|
||||
Reference in New Issue
Block a user