@Override
  public void update(@NotNull AnActionEvent event){
    Presentation presentation = event.getPresentation();
    if (!ActionPlaces.isMainMenuOrActionSearch(event.getPlace())) {
      presentation.setText(IdeBundle.messagePointer("action.browse.type.hierarchy"));
    }
    super.update(event);
  }
@Override
  public void update(@NotNull AnActionEvent event)