public void add(String root, String relativePath) {
    if (root != null && relativePath != null) {
      myPaths.add(Pair.create(FileUtil.toSystemIndependentName(root), FileUtil.toSystemIndependentName(relativePath)));
    }
    else {
      LOG.info("Invalid file generation event: root=" + root + "; relativePath=" + relativePath);
    }
  }
public void add(String root, String relativePath)