void (@NotNull PsiField field, @NotNull @NlsSafe String displayName, RequiredFlag required) { HtmlChunk hyperLink = createLink(JavaDocUtil.getReferenceText(field.getProject(), field), displayName); final String typeText = field.getType().getPresentableText(); String requiredText = ""; if (required == RequiredFlag.REQUIRED) { requiredText = " " + DevKitBundle.message("extension.point.documentation.field.required.suffix"); } else if (required == RequiredFlag.REQUIRED_ALLOW_EMPTY) { requiredText = " " + DevKitBundle.message("extension.point.documentation.field.required.can.be.empty.suffix"); } final String initializer = field.getInitializer() != null ? " = " + field.getInitializer().getText() : ""; bindingRows.append(createSectionRow(hyperLink, typeText + requiredText + initializer)); }