From 18cee4ed54d2ce2c671bfdb06afece9d67445ebe Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Thu, 11 Jul 2024 15:00:22 +0200 Subject: [PATCH] IJPL-158155 Invocation of unresolved method com.intellij.ide.actions.searcheverywhere.SymbolSearchEverywhereContributor.createContext(Project, SmartPsiElementPointer) : DataContext) GitOrigin-RevId: b3f4dbcf281bb464a1a520699b5db0d8b1937576 --- platform/lang-impl/api-dump-unreviewed.txt | 1 + .../ide/actions/searcheverywhere/AbstractGotoSEContributor.kt | 1 + 2 files changed, 2 insertions(+) diff --git a/platform/lang-impl/api-dump-unreviewed.txt b/platform/lang-impl/api-dump-unreviewed.txt index 6f3ec4ae3aaa..5be05a287d8f 100644 --- a/platform/lang-impl/api-dump-unreviewed.txt +++ b/platform/lang-impl/api-dump-unreviewed.txt @@ -13825,6 +13825,7 @@ a:com.intellij.ide.actions.searcheverywhere.AbstractGotoSEContributor - p:myScopeDescriptor:com.intellij.ide.util.scopeChooser.ScopeDescriptor - p:(com.intellij.openapi.actionSystem.AnActionEvent):V - psf:applyPatternFilter(java.lang.String,java.util.regex.Pattern):java.lang.String +- sf:createContext(com.intellij.openapi.project.Project,com.intellij.psi.SmartPsiElementPointer):com.intellij.openapi.actionSystem.DataContext - pa:createModel(com.intellij.openapi.project.Project):com.intellij.ide.util.gotoByName.FilteringGotoByModel - p:createScopes():java.util.List - pf:doGetActions(com.intellij.ide.actions.searcheverywhere.PersistentSearchEverywhereContributorFilter,com.intellij.ide.util.ElementsChooser$StatisticsCollector,java.lang.Runnable):java.util.List diff --git a/platform/lang-impl/src/com/intellij/ide/actions/searcheverywhere/AbstractGotoSEContributor.kt b/platform/lang-impl/src/com/intellij/ide/actions/searcheverywhere/AbstractGotoSEContributor.kt index 69ac9533fd1f..23aee2e7bdc4 100644 --- a/platform/lang-impl/src/com/intellij/ide/actions/searcheverywhere/AbstractGotoSEContributor.kt +++ b/platform/lang-impl/src/com/intellij/ide/actions/searcheverywhere/AbstractGotoSEContributor.kt @@ -111,6 +111,7 @@ abstract class AbstractGotoSEContributor protected constructor(event: AnActionEv get() = myProject companion object { + @JvmStatic fun createContext(project: Project?, psiContext: SmartPsiElementPointer?): DataContext { val parentContext = if (project == null) null else SimpleDataContext.getProjectContext(project) val context = psiContext?.element