private boolean tryAppendUsage(@NotNull T element) {
    final UsageView view = myUsageView.get();
    if (view != null && !((UsageViewImpl)view).isDisposed()) {
      return ReadAction.compute(() -> {
        Usage usage = createUsage(element);
        if (usage == null) {
          return false;
        }
        view.appendUsage(usage);
        return true;
      });
    }
    return false;
  }
private boolean tryAppendUsage(@NotNull T element)