private static FileFilterAdapter wrap(@NotNull Path outputDir, @Nullable FilenameFilter filter) {
      return filter == null ? null : new FileFilterAdapter(outputDir, filter);
    }
private static FileFilterAdapter wrap(@NotNull Path outputDir, @Nullable FilenameFilter filter)