void (DomElement domElement, boolean requestFocus) { DomElement target = null; if (domElement instanceof MavenDomDependency) { target = MavenDomProjectProcessorUtils.searchManagingDependency((MavenDomDependency)domElement); } else if (domElement instanceof MavenDomPlugin) { target = MavenDomProjectProcessorUtils.searchManagingPlugin((MavenDomPlugin)domElement); } else if (domElement instanceof MavenDomParent) { target = MavenDomProjectProcessorUtils.findParent((MavenDomParent)domElement, domElement.getManager().getProject()); } if (target != null) { PsiNavigateUtil.navigate(target.getXmlTag(), requestFocus); } }