From 5ce9a661b33d04894a2cd497bd7d0a3c070c6313 Mon Sep 17 00:00:00 2001 From: Denis Mukhametianov Date: Tue, 6 Feb 2024 13:37:05 +0100 Subject: [PATCH] [spellchecker] @ApiStatus.Internal on new apis GitOrigin-RevId: 27261e07be7ba614a355f339d326dcd384bb7bb0 --- spellchecker/src/com/intellij/spellchecker/DictionaryLevel.kt | 3 ++- .../spellchecker/settings/BuiltInDictionariesProvider.kt | 2 ++ .../com/intellij/spellchecker/settings/BuiltInDictionary.kt | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/spellchecker/src/com/intellij/spellchecker/DictionaryLevel.kt b/spellchecker/src/com/intellij/spellchecker/DictionaryLevel.kt index 1197cb539691..0f659441271d 100644 --- a/spellchecker/src/com/intellij/spellchecker/DictionaryLevel.kt +++ b/spellchecker/src/com/intellij/spellchecker/DictionaryLevel.kt @@ -9,9 +9,10 @@ import com.intellij.spellchecker.dictionary.ProjectDictionary import com.intellij.spellchecker.state.AppDictionaryState import com.intellij.spellchecker.state.ProjectDictionaryState import com.intellij.spellchecker.util.SpellCheckerBundle +import org.jetbrains.annotations.ApiStatus import org.jetbrains.annotations.Nls -import java.util.function.Supplier +@ApiStatus.Internal interface DictionaryLayersProvider { fun getLayers(project: Project): List diff --git a/spellchecker/src/com/intellij/spellchecker/settings/BuiltInDictionariesProvider.kt b/spellchecker/src/com/intellij/spellchecker/settings/BuiltInDictionariesProvider.kt index 05f38bf5bf48..a92a5c935a49 100644 --- a/spellchecker/src/com/intellij/spellchecker/settings/BuiltInDictionariesProvider.kt +++ b/spellchecker/src/com/intellij/spellchecker/settings/BuiltInDictionariesProvider.kt @@ -2,7 +2,9 @@ package com.intellij.spellchecker.settings import com.intellij.openapi.extensions.ExtensionPointName +import org.jetbrains.annotations.ApiStatus +@ApiStatus.Internal interface BuiltInDictionariesProvider { fun getDictionaries(): List diff --git a/spellchecker/src/com/intellij/spellchecker/settings/BuiltInDictionary.kt b/spellchecker/src/com/intellij/spellchecker/settings/BuiltInDictionary.kt index b05bf0dd01e7..a888ca9192d6 100644 --- a/spellchecker/src/com/intellij/spellchecker/settings/BuiltInDictionary.kt +++ b/spellchecker/src/com/intellij/spellchecker/settings/BuiltInDictionary.kt @@ -2,8 +2,10 @@ package com.intellij.spellchecker.settings import com.intellij.openapi.project.Project +import org.jetbrains.annotations.ApiStatus import org.jetbrains.annotations.Nls +@ApiStatus.Internal interface BuiltInDictionary { fun openDictionaryInEditor(project: Project) val name: @Nls String