From 821c2050bbd9b0f72d2ddb65f683923f64cc4e3d Mon Sep 17 00:00:00 2001 From: "Daria.Suvorova" Date: Mon, 7 Apr 2025 13:39:53 +0300 Subject: [PATCH] IJPL-339 com.intellij.codeInsight.multiverse is now an experimental API GitOrigin-RevId: 297914e286fcc423a83e99dbe2dbadb394c3fd82 --- platform/core-api/api-dump-experimental.txt | 40 +++++++++++++++++++ .../codeInsight/multiverse/package-info.java | 2 +- .../codeInsight/multiverse/package-info.java | 2 +- .../editor-ui-api/api-dump-experimental.txt | 31 ++++++++++++++ 4 files changed, 73 insertions(+), 2 deletions(-) diff --git a/platform/core-api/api-dump-experimental.txt b/platform/core-api/api-dump-experimental.txt index 47f04615a1c8..cd31d8d67b8b 100644 --- a/platform/core-api/api-dump-experimental.txt +++ b/platform/core-api/api-dump-experimental.txt @@ -1,3 +1,43 @@ +*:com.intellij.codeInsight.multiverse.CodeInsightContext +*:com.intellij.codeInsight.multiverse.CodeInsightContextChangeListener +- java.util.EventListener +- a:contextsChanged():V +*:com.intellij.codeInsight.multiverse.CodeInsightContextManager +- *sf:Companion:com.intellij.codeInsight.multiverse.CodeInsightContextManager$Companion +- a:getChangeFlow():kotlinx.coroutines.flow.Flow +- a:getCodeInsightContext(com.intellij.psi.FileViewProvider):com.intellij.codeInsight.multiverse.CodeInsightContext +- a:getCodeInsightContexts(com.intellij.openapi.vfs.VirtualFile):java.util.List +- getCurrentCodeInsightContext():com.intellij.codeInsight.multiverse.CodeInsightContext +- a:getCurrentCodeInsightSession():com.intellij.codeInsight.multiverse.CodeInsightSession +- s:getInstance(com.intellij.openapi.project.Project):com.intellij.codeInsight.multiverse.CodeInsightContextManager +- a:getPreferredContext(com.intellij.openapi.vfs.VirtualFile):com.intellij.codeInsight.multiverse.CodeInsightContext +- a:isSharedSourceSupportEnabled():Z +- a:performCodeInsightSession(com.intellij.codeInsight.multiverse.CodeInsightContext,kotlin.jvm.functions.Function1):java.lang.Object +*f:com.intellij.codeInsight.multiverse.CodeInsightContextManager$Companion +- f:getInstance(com.intellij.openapi.project.Project):com.intellij.codeInsight.multiverse.CodeInsightContextManager +- f:getInstanceAsync(com.intellij.openapi.project.Project,kotlin.coroutines.Continuation):java.lang.Object +- f:getTopic():com.intellij.util.messages.Topic +*:com.intellij.codeInsight.multiverse.CodeInsightContextPresentationProvider +- a:getIcon(com.intellij.codeInsight.multiverse.CodeInsightContext,com.intellij.openapi.project.Project):javax.swing.Icon +- a:getPresentableText(com.intellij.codeInsight.multiverse.CodeInsightContext,com.intellij.openapi.project.Project):java.lang.String +- a:isApplicable(com.intellij.codeInsight.multiverse.CodeInsightContext):Z +*:com.intellij.codeInsight.multiverse.CodeInsightContextProvider +- a:getContexts(com.intellij.openapi.vfs.VirtualFile,com.intellij.openapi.project.Project):java.util.List +- a:invalidationRequestFlow(com.intellij.openapi.project.Project):kotlinx.coroutines.flow.Flow +*:com.intellij.codeInsight.multiverse.CodeInsightContextProvider$Invalidator +- a:requestInvalidation(kotlin.coroutines.Continuation):java.lang.Object +*f:com.intellij.codeInsight.multiverse.CodeInsightContexts +- sf:anyContext():com.intellij.codeInsight.multiverse.CodeInsightContext +- sf:defaultContext():com.intellij.codeInsight.multiverse.CodeInsightContext +- sf:isSharedSourceSupportEnabled(com.intellij.openapi.project.Project):Z +- sf:isShowAllInheritorsEnabled():Z +*:com.intellij.codeInsight.multiverse.CodeInsightSession +- a:getContext():com.intellij.codeInsight.multiverse.CodeInsightContext +*:com.intellij.codeInsight.multiverse.ModuleContext +- com.intellij.codeInsight.multiverse.CodeInsightContext +- a:getModule():com.intellij.openapi.module.Module +*:com.intellij.codeInsight.multiverse.MultiverseEnabler +- a:enableMultiverse(com.intellij.openapi.project.Project):Z *:com.intellij.ide.lightEdit.LightEditCompatible *e:com.intellij.ide.plugins.IdeaPluginOsRequirement - java.lang.Enum diff --git a/platform/core-api/src/com/intellij/codeInsight/multiverse/package-info.java b/platform/core-api/src/com/intellij/codeInsight/multiverse/package-info.java index 2cd031b088b7..3a29bbf728ce 100644 --- a/platform/core-api/src/com/intellij/codeInsight/multiverse/package-info.java +++ b/platform/core-api/src/com/intellij/codeInsight/multiverse/package-info.java @@ -6,7 +6,7 @@ *

* This API is highly experimental and thus mark as internal for a while. */ -@ApiStatus.Internal +@ApiStatus.Experimental package com.intellij.codeInsight.multiverse; import org.jetbrains.annotations.ApiStatus; diff --git a/platform/core-impl/src/com/intellij/codeInsight/multiverse/package-info.java b/platform/core-impl/src/com/intellij/codeInsight/multiverse/package-info.java index a50672efb79c..48609c1b7d4d 100644 --- a/platform/core-impl/src/com/intellij/codeInsight/multiverse/package-info.java +++ b/platform/core-impl/src/com/intellij/codeInsight/multiverse/package-info.java @@ -1,5 +1,5 @@ // Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -@ApiStatus.Internal +@ApiStatus.Experimental package com.intellij.codeInsight.multiverse; import org.jetbrains.annotations.ApiStatus; \ No newline at end of file diff --git a/platform/editor-ui-api/api-dump-experimental.txt b/platform/editor-ui-api/api-dump-experimental.txt index 2bee019e6c28..72ad39220c2b 100644 --- a/platform/editor-ui-api/api-dump-experimental.txt +++ b/platform/editor-ui-api/api-dump-experimental.txt @@ -1,3 +1,34 @@ +*:com.intellij.codeInsight.multiverse.EditorContextManager +- *sf:Companion:com.intellij.codeInsight.multiverse.EditorContextManager$Companion +- a:getCachedEditorContexts(com.intellij.openapi.editor.Editor):com.intellij.codeInsight.multiverse.EditorSelectedContexts +- s:getEditorContext(com.intellij.openapi.editor.Editor,com.intellij.openapi.project.Project):com.intellij.codeInsight.multiverse.CodeInsightContext +- a:getEditorContexts(com.intellij.openapi.editor.Editor):com.intellij.codeInsight.multiverse.EditorSelectedContexts +- a:getEventFlow():kotlinx.coroutines.flow.Flow +- s:getInstance(com.intellij.openapi.project.Project):com.intellij.codeInsight.multiverse.EditorContextManager +- a:setEditorContext(com.intellij.openapi.editor.Editor,com.intellij.codeInsight.multiverse.EditorSelectedContexts):V +*f:com.intellij.codeInsight.multiverse.EditorContextManager$ChangeEvent +- (com.intellij.openapi.editor.Editor,com.intellij.codeInsight.multiverse.EditorSelectedContexts):V +- f:getEditor():com.intellij.openapi.editor.Editor +- f:getNewContexts():com.intellij.codeInsight.multiverse.EditorSelectedContexts +*:com.intellij.codeInsight.multiverse.EditorContextManager$ChangeEventListener +- java.util.EventListener +- a:editorContextsChanged(com.intellij.codeInsight.multiverse.EditorContextManager$ChangeEvent):V +*f:com.intellij.codeInsight.multiverse.EditorContextManager$Companion +- f:getEditorContext(com.intellij.openapi.editor.Editor,com.intellij.openapi.project.Project):com.intellij.codeInsight.multiverse.CodeInsightContext +- f:getInstance(com.intellij.openapi.project.Project):com.intellij.codeInsight.multiverse.EditorContextManager +- f:getInstanceAsync(com.intellij.openapi.project.Project,kotlin.coroutines.Continuation):java.lang.Object +- f:getTopic():com.intellij.util.messages.Topic +*:com.intellij.codeInsight.multiverse.EditorSelectedContexts +- a:contains(com.intellij.codeInsight.multiverse.CodeInsightContext):Z +- a:getAdditionalContexts():java.util.Set +- getAllContexts():java.util.Set +- a:getMainContext():com.intellij.codeInsight.multiverse.CodeInsightContext +*f:com.intellij.codeInsight.multiverse.SingleEditorContext +- com.intellij.codeInsight.multiverse.EditorSelectedContexts +- (com.intellij.codeInsight.multiverse.CodeInsightContext):V +- contains(com.intellij.codeInsight.multiverse.CodeInsightContext):Z +- getAdditionalContexts():java.util.Set +- getMainContext():com.intellij.codeInsight.multiverse.CodeInsightContext *:com.intellij.ide.lightEdit.LightEditService - a:closeEditorWindow():Z - a:createNewDocument(java.nio.file.Path):com.intellij.ide.lightEdit.LightEditorInfo