mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
EA-389337 T: SharedImplUtil.findFileElement
GitOrigin-RevId: 313fa6aab59c6c8529d0add9ac53e14e62f77670
This commit is contained in:
committed by
intellij-monorepo-bot
parent
689dac3bda
commit
5d5412de4f
@@ -1,4 +1,4 @@
|
||||
// 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.
|
||||
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
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(ReadAction.compute(() -> parameter.getDeclarationScope())),
|
||||
ReadAction.compute(() -> new LocalSearchScope(parameter.getDeclarationScope())),
|
||||
true,
|
||||
parameter);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user