void (final @NotNull String url, final @NotNull JpsOrderRootType rootType) { final JpsElementCollection<JpsLibraryRoot> rootsCollection = myContainer.getChild(getRole(rootType)); if (rootsCollection != null) { for (JpsLibraryRoot root : rootsCollection.getElements()) { if (root.getUrl().equals(url) && root.getRootType().equals(rootType)) { rootsCollection.removeChild(root); break; } } } }