boolean (@NotNull Project project, @NotNull GlobalSearchScope scope, @NotNull Collection<String> names, @NotNull Processor<? super PsiClass> processor) { final PsiShortNamesCache cache = PsiShortNamesCache.getInstance(project); for (final String name : names) { ProgressIndicatorProvider.checkCanceled(); if (!processByName(project, scope, processor, cache, name)) return false; } return true; }