@Override
  public void actionPerformed(@NotNull AnActionEvent e) {
    final Component component = e.getData(PlatformCoreDataKeys.CONTEXT_COMPONENT);
    if (component instanceof JTextComponent textComponent) {
      textComponent.setText("");
    }
  }
@Override
  public void actionPerformed(@NotNull AnActionEvent e)