Element (@NotNull String sourceToolName, @NotNull Element sourceElement, @NotNull Element toolElement) { if (HighlightSeverity.WARNING.getName().equals(sourceElement.getAttributeValue("level")) && Boolean.parseBoolean(sourceElement.getAttributeValue("enabled"))) { toolElement.addContent(new Element("option").setAttribute("name", "mySuggestSetAll").setAttribute("value", "true")); } return toolElement; }