@Override
  public void addRoots(@NotNull Collection<? extends OrderRoot> roots) {
    for (OrderRoot root : roots) {
      if (root.isJarDirectory()) {
        addJarDirectory(root.getFile(), false, root.getType());
      }
      else {
        addRoot(root.getFile(), root.getType());
      }
    }
  }
@Override
  public void addRoots(@NotNull Collection<? extends OrderRoot> roots)