void (@NotNull Element element, @NotNull Map<String, String> envs) { if (envs.isEmpty()) { return; } final Element envsElement = new Element(ENVS); for (String envName : envs.keySet()) { final Element envElement = new Element(ENV); envElement.setAttribute(NAME, envName); envElement.setAttribute(VALUE, envs.get(envName)); envsElement.addContent(envElement); } element.addContent(envsElement); }