@NotNull
  public IntPredicate hideLineNumberPredicate(final int index) {
    return lineNumber -> {
      FoldedBlock foldedBlock = getBlockForLine(index, lineNumber);
      if (foldedBlock != null) {
        FoldRegion region = foldedBlock.getRegion(index);
        if (region != null && !region.isExpanded()) return true;
      }
      return false;
    };
  }
@NotNull
  public IntPredicate hideLineNumberPredicate(final int index)