List<Module> (@NotNull Project project, @NotNull JpsModuleSourceRootType<?> rootType) { return ContainerUtil.filter(ModuleManager.getInstance(project).getModules(), module -> containsGroovyResources(rootType, module, false)); }