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