private static void showUsagesInMaximalScope(@NotNull ShowUsagesParameters parameters,
                                               @NotNull ShowUsagesActionHandler actionHandler,
                                               @Nullable ShowUsagesPopupData showUsagesPopupData) {
    if (showUsagesPopupData != null) {
      cancel(showUsagesPopupData.popupRef.get(), actionHandler, CLOSE_REASON_CHANGE_SCOPE);
    }
    ShowUsagesActionHandler handler = actionHandler.withScope(actionHandler.getMaximalScope());
    if (handler != null) {
      showElementUsages(parameters, handler);
    }
  }
private static void showUsagesInMaximalScope(@NotNull ShowUsagesParameters parameters,
                                               @NotNull ShowUsagesActionHandler actionHandler,
                                               @Nullable ShowUsagesPopupData showUsagesPopupData)