void (@NotNull Module module, @NotNull VirtualFile root) { ModuleRootModificationUtil.updateModel(module, model -> { ContentEntry entry = findContentEntryWithAssertion(model, root); entry.removeExcludeFolder(root.getUrl()); }); }