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