docs: public static void eachFile(final Path self, final FileType fileType, @ClosureParams(value = SimpleType.class, options = "java.nio.file.Path") final Closure closure) throws IOException {
          //throws FileNotFoundException, IllegalArgumentException {
          checkDir(self);
  
          // TODO GroovyDoc doesn't parse this file as our java.g doesn't handle this JDK7 syntax
          try (DirectoryStream<Path> stream = Files.newDirectoryStream(self)) {
              for (Path path : stream) {
                  if (fileType == FileType.ANY ||
                          (fileType != FileType.FILES && Files.isDirectory(path)) ||
                          (fileType != FileType.DIRECTORIES && Files.isRegularFile(path))) {
                      closure.call(path);
                  }
              }
          }
      }