private @Nullable DocumentationHoverInfo documentationHoverInfo(@NotNull Editor editor) {
      try {
        return showDocumentation() && EditorSettingsExternalizable.getInstance().isShowQuickDocOnMouseOverElement()
          ? calcTargetDocumentationInfo(Objects.requireNonNull(editor.getProject()), editor, targetOffset)
          : null;
      }
      catch (IndexNotReadyException ignored) {
        return null;
      }
    }
private @Nullable DocumentationHoverInfo documentationHoverInfo(@NotNull Editor editor)