Element (@NotNull Element parent, @NotNull String fieldName) { Element element = new Element(Constants.OPTION); element.setAttribute(Constants.NAME, fieldName); parent.addContent(element); return element; }