List<PsiMethod> (@NotNull Set<? extends PsiClass> classes, @NotNull String name, int callArgCount) { return ContainerUtil.flatMap(classes, aClass -> ContainerUtil.filter(aClass.findMethodsByName(name, true), m->canHaveArgCount(m, callArgCount))); }