void (@NotNull PsiType qualifierType, @NotNull PsiScopeProcessor processor, @NotNull PsiElement place, @NotNull ResolveState state) { GlobalSearchScope scope = place.getResolveScope(); if (scope instanceof StructuralSearchScriptScope) { PsiPackage openApiPackage = JavaPsiFacade.getInstance(place.getProject()).findPackage("com.intellij.psi"); if (openApiPackage != null) { traversePackage(openApiPackage, c -> { processor.execute(c, state); c.processDeclarations(processor, state, null, place); }); } } }