Collection<String> (@NotNull Element element, @NotNull String vulnerabilitiesTagName) { Element vulnerabilities = element.getChild(vulnerabilitiesTagName); if (vulnerabilities == null) { return Collections.emptyList(); } return ContainerUtil.map(vulnerabilities.getChildren("vulnerability"), vulnerability -> vulnerability.getAttributeValue("name")); }