@Deprecated
  public @Nullable AnActionButton getAnActionButton(@NotNull Buttons button) {
    return ObjectUtils.tryCast(myButtons.get(button), AnActionButton.class);
  }
@Deprecated
  public @Nullable AnActionButton getAnActionButton(@NotNull Buttons button)