String (@NotNull MavenDomProjectModel model, @NotNull MavenDomDependency dependency) { XmlTag tag = dependency.getXmlTag(); if (tag == null) return getProjectName(model); VirtualFile file = tag.getContainingFile().getVirtualFile(); if (file == null) return getProjectName(model); return "<a href ='#navigation/" + file.getPath() + ":" + tag.getTextRange().getStartOffset() + "'>" + getProjectName(model) + "</a>"; }