private static boolean _process(VirtualFile[] files, Project project, Processor<? super XmlFile> processor) {
    final PsiManager psiManager = PsiManager.getInstance(project);
    final List<PsiFile> psiFiles = ContainerUtil.mapNotNull(files, (NullableFunction<VirtualFile, PsiFile>)file -> psiManager.findFile(file));
    for (final PsiFile psiFile : psiFiles) {
      if (XsltSupport.isXsltFile(psiFile)) {
        if (!processor.process((XmlFile)psiFile)) {
          return false;
        }
      }
    }
    return true;
  }
private static boolean _process(VirtualFile[] files, Project project, Processor<? super XmlFile> processor)