void (@NotNull MavenDomDependencies dependencies) { for (var dependency : dependencies.getDependencies()) { replaceArtifactId(dependency.getXmlTag()); for (var exclusion : dependency.getExclusions().getExclusions()) { replaceArtifactId(exclusion.getXmlTag()); } } }