Area getButtonBounds(Component c) {
    Rectangle bounds = null;
    if (c instanceof JComboBox && ((JComboBox<?>)c).getUI() instanceof MacIntelliJComboBoxUI ui) {
      bounds = ui.getArrowButtonBounds();
    }
    return bounds != null ? new Area(bounds) : new Area();
  }
Area getButtonBounds(Component c)