default ProblemDescriptor @NotNull [] checkFile(@NotNull PsiFile file,
                                                  @NotNull GlobalInspectionContext context,
                                                  @NotNull InspectionManager manager) {
    String shortName = getShortName();
    FileViewProvider viewProvider = file.getViewProvider();

    for (PsiFile psiRoot : ReadAction.compute(() -> viewProvider.getAllFiles())) {
      List<ExternalAnnotator<?,?>> externalAnnotators = ReadAction.compute(() -> ExternalLanguageAnnotators.allForFile(psiRoot.getLanguage(), psiRoot));
      for (ExternalAnnotator<?,?> annotator : externalAnnotators) {
        if (shortName.equals(annotator.getPairedBatchInspectionShortName())) {
          return ExternalAnnotatorInspectionVisitor.checkFileWithExternalAnnotator(file, manager, false, annotator);
        }
      }
    }
    return ProblemDescriptor.EMPTY_ARRAY;
  }
default ProblemDescriptor @NotNull [] checkFile(@NotNull PsiFile file,
                                                  @NotNull GlobalInspectionContext context,
                                                  @NotNull InspectionManager manager)