void (@NotNull Element optionsElement, @NotNull String valueHasParens, final boolean hasParens) { if (!hasParens) { return; } Element supportParens = new Element(ELEMENT_OPTION); supportParens.setAttribute(ATTRIBUTE_NAME, valueHasParens); supportParens.setAttribute(ATTRIBUTE_VALUE, String.valueOf(true)); optionsElement.addContent(supportParens); }