private List<OrderRoot> filterAlreadyAdded(@NotNull List<? extends OrderRoot> roots) {
    List<OrderRoot> result = new ArrayList<>();
    for (OrderRoot root : roots) {
      final VirtualFile[] libraryFiles = getLibraryEditor().getFiles(root.getType());
      if (!ArrayUtil.contains(root.getFile(), libraryFiles)) {
        result.add(root);
      }
    }
    return result;
  }
private List<OrderRoot> filterAlreadyAdded(@NotNull List<? extends OrderRoot> roots)