protected void handleTagClick(@Nullable T tag, @NotNull MouseEvent event) {
    if (tag instanceof Runnable) {
      ((Runnable)tag).run();
    }
  }
protected void handleTagClick(@Nullable T tag, @NotNull MouseEvent event)