int (@NotNull List<? extends TagDescription> tagBlocks, boolean align_comments, boolean generate_empty_tags, boolean descriptionOnNewLine) { int max = 0; if (align_comments && !descriptionOnNewLine) { for (TagDescription tagDescription: tagBlocks) { int current = tagDescription.name().length(); if (isNull(tagDescription.desc()) && !generate_empty_tags) continue; if (current > max) { max = current; } } } return max; }