void (@NotNull Project project, @NotNull ProblemDescriptor descriptor) { DomElement domElement = DomUtil.getDomElement(descriptor.getPsiElement()); if (domElement == null) return; final IdeaPlugin ideaPlugin = domElement.getParentOfType(IdeaPlugin.class, true); assert ideaPlugin != null; final Dependency dependency = ideaPlugin.addDependency(); dependency.setStringValue(dependencyId); }