Collection<PsiJavaModule> (@NotNull String name, @NotNull Project project, @NotNull GlobalSearchScope scope) { Collection<PsiJavaModule> modules = StubIndex.getElements(getKey(), name, project, new JavaSourceFilterScope(scope, true), PsiJavaModule.class); if (modules.size() > 1) { modules = filterVersions(project, modules); } return modules; }