void (@NotNull ExcludeFolder excludeFolder) { JpsExcludeFolder folder = (JpsExcludeFolder)excludeFolder; myExcludeFolders.remove(folder); myModule.getExcludeRootsList().removeUrl(folder.getUrl()); Disposer.dispose(folder); }