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