public static <T> ListCellRenderer<T> unwrap(ListCellRenderer<T> renderer) {
    if (renderer instanceof ExpandedItemListCellRendererWrapper wrapper) {
      //noinspection unchecked
      return wrapper.getWrappee();
    }
    return renderer;
  }
public static <T> ListCellRenderer<T> unwrap(ListCellRenderer<T> renderer)