private void insertNewSection(@NotNull SectionBasedDocStringBuilder builder, @NotNull String sectionTitle) {
    final Pair<Integer, Boolean> pos = findPreferredSectionLine(sectionTitle);
    if (pos.getSecond()) {
      // don't add extra first empty line in empty docstring
      if (!myOriginalDocString.isEmpty(pos.getFirst())) {
        builder.addEmptyLine(0);
      }
      insertAfterLine(pos.getFirst(), builder.buildContent(getExpectedSectionIndent(), true));
    }
    else {
      if (!myOriginalDocString.isEmpty(pos.getFirst())) {
        builder.addEmptyLine();
      }
      insertBeforeLine(pos.getFirst(), builder.buildContent(getExpectedSectionIndent(), true));
    }
  }
private void insertNewSection(@NotNull SectionBasedDocStringBuilder builder, @NotNull String sectionTitle)