private void process(VirtualFile @NotNull [] files) {
    if (scanRequest == 0) {
      Collections.addAll(filesToScan2, files);
    }
    else {
      for (VirtualFile file : files) {
        if (filesToScan.contains(file)) {
          filesToScan2.add(file);
        }
      }
    }
  }
private void process(VirtualFile @NotNull [] files)