private void applyInsets(JComponent contentComponent) {
    if (contentComponent instanceof ListWithFilter<?> listWithFilter) {
      Insets insets = PopupUtil.getListInsets(StringUtil.isNotEmpty(myTitle), StringUtil.isNotEmpty(myAd));
      listWithFilter.getList().setBorder(new EmptyBorder(insets));
    }
  }
private void applyInsets(JComponent contentComponent)