diff --git a/platform/lang-impl/api-dump-experimental.txt b/platform/lang-impl/api-dump-experimental.txt index 1b73ab3c725b..b984f40f01c9 100644 --- a/platform/lang-impl/api-dump-experimental.txt +++ b/platform/lang-impl/api-dump-experimental.txt @@ -205,6 +205,8 @@ f:com.intellij.codeInsight.highlighting.HighlightUsagesHandler *f:com.intellij.codeInsight.hints.InlayHintsUtils - sf:INSTANCE:com.intellij.codeInsight.hints.InlayHintsUtils - f:computeCodeVisionUnderReadAction(kotlin.jvm.functions.Function0):com.intellij.codeInsight.codeVision.CodeVisionState +- f:computeCodeVisionUnderReadAction(Z,kotlin.jvm.functions.Function0):com.intellij.codeInsight.codeVision.CodeVisionState +- bs:computeCodeVisionUnderReadAction$default(com.intellij.codeInsight.hints.InlayHintsUtils,Z,kotlin.jvm.functions.Function0,I,java.lang.Object):com.intellij.codeInsight.codeVision.CodeVisionState - f:getDefaultInlayHintsProviderPopupActions(com.intellij.codeInsight.hints.SettingsKey,java.util.function.Supplier):java.util.List - f:getTextRangeWithoutLeadingCommentsAndWhitespaces(com.intellij.psi.PsiElement):com.intellij.openapi.util.TextRange - sf:isFirstInLine(com.intellij.psi.PsiElement):Z diff --git a/platform/lang-impl/src/com/intellij/codeInsight/hints/InlayHintsUtils.kt b/platform/lang-impl/src/com/intellij/codeInsight/hints/InlayHintsUtils.kt index 29022c4500cd..6b96be6af556 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/hints/InlayHintsUtils.kt +++ b/platform/lang-impl/src/com/intellij/codeInsight/hints/InlayHintsUtils.kt @@ -288,6 +288,7 @@ object InlayHintsUtils { return storage } + @JvmOverloads fun computeCodeVisionUnderReadAction(expectsIndicator: Boolean = false, computable: () -> CodeVisionState): CodeVisionState { try { if (!EDT.isCurrentThreadEdt()) {