Predicate<PsiClass> (@NotNull GlobalSearchScope scope, @NotNull List<? extends PsiElementFinder> finders) { Predicate<PsiClass> filter = null; for (PsiElementFinder finder : finders) { Predicate<PsiClass> finderFilter = finder.getClassesFilter(scope); if (finderFilter != null) { filter = filter == null ? finderFilter : filter.and(finderFilter); } } return filter; }