code: private org.apache.tools.ant.types.Path resolveFiles(org.apache.tools.ant.types.Path path) {
      org.apache.tools.ant.types.Path cloned = new org.apache.tools.ant.types.Path(getProject());
      for (String location : path.list()) {
        cloned.createPathElement().setLocation(new File(location));
      }
      return cloned;
    }
docs: Resolve all files from a given path and simplify its definition.