public static List<Path> buildFiles(@Nullable VirtualFile virtualFile, @Nullable Module module, boolean includeModuleOutput) {
    List<Path> result = new ArrayList<>();
    processClassPathItems(virtualFile, module, file -> {
      if (file != null && file.isValid()) {
        Path path = file.getFileSystem().getNioPath(file);
        if (path != null) {
          result.add(path);
        }
      }
    }, includeModuleOutput);
    return result;
  }
public static List<Path> buildFiles(@Nullable VirtualFile virtualFile, @Nullable Module module, boolean includeModuleOutput)