public static @Nullable ShellTerminalWidget asShellJediTermWidget(@NotNull TerminalWidget widget) {
    return ObjectUtils.tryCast(JBTerminalWidget.asJediTermWidget(widget), ShellTerminalWidget.class);
  }
public static @Nullable ShellTerminalWidget asShellJediTermWidget(@NotNull TerminalWidget widget)