XmlTag (VirtualFile file, String path, Class<? extends MavenDomElement> clazz) { MavenDomElement model = MavenDomUtil.getMavenDomModel(myProject, file, clazz); assertNotNull("Model is not of " + clazz, model); return MavenDomUtil.findTag(model, path); }