mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
suggest functional interfaces from use scope only (IDEA-174204)
This commit is contained in:
@@ -171,7 +171,7 @@ public class FunctionalInterfaceSuggester {
|
||||
}
|
||||
|
||||
for (String functionalInterface : FUNCTIONAL_INTERFACES) {
|
||||
final PsiClass aClass = psiFacade.findClass(functionalInterface, allScope);
|
||||
final PsiClass aClass = psiFacade.findClass(functionalInterface, element.getResolveScope());
|
||||
if (aClass != null) {
|
||||
consumer.process(aClass);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user