@Override
  public @Nullable TextEditorHighlightingPass createMainHighlightingPass(@NotNull PsiFile file,
                                                                         @NotNull Document document,
                                                                         @NotNull HighlightInfoProcessor highlightInfoProcessor) {
    TextRange range = file.getTextRange();
    if (range == null || !externalAnnotatorsDefined(file)) {
      return null;
    }
    return new ExternalToolPass(file, document, null, range.getStartOffset(), range.getEndOffset(), highlightInfoProcessor);
  }
@Override
  public @Nullable TextEditorHighlightingPass createMainHighlightingPass(@NotNull PsiFile file,
                                                                         @NotNull Document document,
                                                                         @NotNull HighlightInfoProcessor highlightInfoProcessor)