mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
[java] API cleanup: mark for removal API which was deprecated in 2023.3 or earlier (IJPL-503)
GitOrigin-RevId: 76cae6e709fa5b22f2eabd37fa2d2dbd99938998
This commit is contained in:
committed by
intellij-monorepo-bot
parent
5919b87fff
commit
a0f7130f41
@@ -12,10 +12,12 @@ import com.intellij.openapi.roots.impl.libraries.LibraryTableImplUtil
|
||||
import com.intellij.openapi.util.Computable
|
||||
import kotlinx.coroutines.*
|
||||
import kotlinx.coroutines.channels.Channel
|
||||
import org.jetbrains.annotations.ApiStatus
|
||||
import org.jetbrains.idea.maven.utils.library.RepositoryLibraryProperties
|
||||
import org.jetbrains.idea.maven.utils.library.RepositoryUtils
|
||||
import kotlin.coroutines.coroutineContext
|
||||
|
||||
@ApiStatus.ScheduledForRemoval
|
||||
@Deprecated("Remove after the `workspace.model.custom.library.bridge` registry key removal")
|
||||
@Service(Service.Level.PROJECT)
|
||||
class LibrarySynchronizationQueue(private val project: Project, private val scope: CoroutineScope) {
|
||||
|
||||
@@ -14,7 +14,9 @@ import com.intellij.platform.workspace.storage.EntityChange
|
||||
import com.intellij.platform.workspace.storage.EntityStorage
|
||||
import com.intellij.platform.workspace.storage.VersionedStorageChange
|
||||
import com.intellij.workspaceModel.ide.impl.legacyBridge.library.ProjectLibraryTableBridgeImpl.Companion.libraryMap
|
||||
import org.jetbrains.annotations.ApiStatus
|
||||
|
||||
@ApiStatus.ScheduledForRemoval
|
||||
@Deprecated("Remove after the `workspace.model.custom.library.bridge` registry key removal")
|
||||
internal class GlobalChangedRepositoryLibrarySynchronizer(private val queue: LibrarySynchronizationQueue,
|
||||
private val disposable: Disposable)
|
||||
@@ -45,6 +47,7 @@ internal class GlobalChangedRepositoryLibrarySynchronizer(private val queue: Lib
|
||||
}
|
||||
}
|
||||
|
||||
@ApiStatus.ScheduledForRemoval
|
||||
@Deprecated("Remove after the `workspace.model.custom.library.bridge` registry key removal")
|
||||
internal class ChangedRepositoryLibrarySynchronizer(private val project: Project,
|
||||
private val queue: LibrarySynchronizationQueue) : WorkspaceModelChangeListener {
|
||||
|
||||
@@ -134,7 +134,7 @@ public final class IdeaProjectSettingsService extends ProjectSettingsService imp
|
||||
* avoid breaking the older code scenarios.
|
||||
*/
|
||||
@Override
|
||||
@Deprecated
|
||||
@Deprecated(forRemoval = true)
|
||||
public Sdk chooseAndSetSdk() {
|
||||
Logger
|
||||
.getInstance(getClass())
|
||||
|
||||
@@ -501,7 +501,7 @@ public final class OverrideImplementUtil extends OverrideImplementExploreUtil {
|
||||
/**
|
||||
* @deprecated use {@link OverrideImplementUtil#showJavaOverrideImplementChooser(Editor, PsiElement, boolean, Collection, Collection, java.util.function.Consumer)}
|
||||
*/
|
||||
@Deprecated
|
||||
@Deprecated(forRemoval = true)
|
||||
public static @Nullable MemberChooser<PsiMethodMember> showOverrideImplementChooser(@NotNull Editor editor,
|
||||
@NotNull PsiElement aClass,
|
||||
final boolean toImplement,
|
||||
@@ -515,7 +515,7 @@ public final class OverrideImplementUtil extends OverrideImplementExploreUtil {
|
||||
* It is used only for backward compatibility.
|
||||
* @deprecated use {@link OverrideImplementUtil#showJavaOverrideImplementChooser(Editor, PsiElement, boolean, Collection, Collection, java.util.function.Consumer)}
|
||||
*/
|
||||
@Deprecated
|
||||
@Deprecated(forRemoval = true)
|
||||
public static @Nullable JavaOverrideImplementMemberChooser showJavaOverrideImplementChooser(@NotNull Editor editor,
|
||||
@NotNull PsiElement aClass,
|
||||
final boolean toImplement,
|
||||
|
||||
@@ -57,7 +57,7 @@ public final class JavaElementLookupRenderer implements ElementLookupRenderer {
|
||||
/**
|
||||
* @deprecated use {@link JavaDeprecationUtils#isDeprecated(PsiElement, PsiElement)}
|
||||
*/
|
||||
@Deprecated
|
||||
@Deprecated(forRemoval = true)
|
||||
public static boolean isDeprecated(@Nullable PsiElement element) {
|
||||
return element instanceof PsiDocCommentOwner && ((PsiDocCommentOwner)element).isDeprecated();
|
||||
}
|
||||
|
||||
@@ -132,7 +132,7 @@ public abstract class JavaCoverageRunner extends CoverageRunner {
|
||||
/**
|
||||
* @deprecated This method is not used anymore, as all the runners support JDK 7+.
|
||||
*/
|
||||
@Deprecated
|
||||
@Deprecated(forRemoval = true)
|
||||
public boolean isJdk7Compatible() {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user