private void addAllLast(Iterable<String> elements, List<? super String> toArray) {
    for (String element : elements) {
      toArray.add(element);
      myPathSet.add(element);
    }
  }
private void addAllLast(Iterable<String> elements, List<? super String> toArray)