SectionBasedDocStringBuilder (@NotNull String name, @Nullable String type, @NotNull String description) { if (type != null) { addSectionLine(String.format("%s : %s", name, type)); } else { addSectionLine(name); } if (!description.isEmpty()) { addSectionLine(myContinuationIndent + description); } return this; }