@TestOnly
  public static @Nullable String getGoToDeclarationOrUsagesText(@NotNull Editor editor) {
    Project project = editor.getProject();
    if (project == null) return null;
    PsiFile file = PsiDocumentManager.getInstance(project).getPsiFile(editor.getDocument());
    if (file == null) return null;
    CtrlMouseData data = getCtrlMouseData(ACTION_GOTO_DECLARATION, editor, file, editor.getCaretModel().getOffset());
    return data == null ? null : data.getHintText();
  }
@TestOnly
  public static @Nullable String getGoToDeclarationOrUsagesText(@NotNull Editor editor)