mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 01:50:56 +07:00
EA-389337 (plugin) - T: SharedImplUtil.findFileElement
GitOrigin-RevId: 366560ce9a30c3bb52defe2ab32980f31fd57c52
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2b71f53f95
commit
2e4ea1b5d4
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.intellij.psi.impl.search;
|
||||
|
||||
import com.intellij.openapi.application.QueryExecutorBase;
|
||||
@@ -37,7 +37,7 @@ public class JavaRecordComponentSearcher extends QueryExecutorBase<PsiReference,
|
||||
PsiParameter parameter = info.myLightCompactConstructorParameter;
|
||||
if (parameter != null) {
|
||||
optimizer.searchWord(info.myName,
|
||||
new LocalSearchScope(parameter.getDeclarationScope()),
|
||||
new LocalSearchScope(ReadAction.compute(() -> parameter.getDeclarationScope())),
|
||||
true,
|
||||
parameter);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user