mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Javafx: Reduced search scope when looking for FXML controller class (simplified, because the effective scope is applied anyway) (IDEA-160386)
This commit is contained in:
@@ -1198,7 +1198,7 @@ public class JavaFxPsiUtil {
|
||||
if (type != null && type.equalsToText(JavaFxCommonNames.JAVAFX_FXML_FXMLLOADER)) {
|
||||
final PsiElement parent = expression.getParent();
|
||||
if (parent instanceof PsiLocalVariable) {
|
||||
ReferencesSearch.search(parent, parent.getUseScope()).forEach(processor);
|
||||
ReferencesSearch.search(parent).forEach(processor);
|
||||
final PsiClass controller = injectedController.get();
|
||||
if (controller != null) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user