mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 18:05:27 +07:00
Revert "[spellchecker] review fix: abstract class -> interface"
This reverts commit 4ddb973784368e3f84b6040be3fc43c70d0696e1. GitOrigin-RevId: 658eca978feba77c317e6388a23297fd586e387d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c2008ee80d
commit
3ca569417e
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user