@ApiStatus.Internal
  protected boolean hasSeparator(E value, int index) {
    String caption = myDescriptor.getCaptionAboveOf(value);
    if (index == 0 && StringUtil.isEmptyOrSpaces(caption)) {
      return false;
    }
    return myDescriptor.hasSeparatorAboveOf(value);
  }
@ApiStatus.Internal
  protected boolean hasSeparator(E value, int index)