boolean (@NotNull JpsModuleSourceRootType<?> rootType, Module module, boolean isSmartMode) { return ContainerUtil .exists(ModuleRootManager.getInstance(module).getSourceRoots(rootType), root -> containsGroovyResources(module, root, isSmartMode)); }