public static Element addOrderEntry(String kind, String path, Element classpathRoot, Map<String, Element> oldEntries) {
    return addOrderEntry(kind, path, classpathRoot, -1, oldEntries);
  }
public static Element addOrderEntry(String kind, String path, Element classpathRoot, Map<String, Element> oldEntries)