String () { final VirtualFile virtualFile = myFile.getVirtualFile(); LOG.assertTrue(virtualFile != null); for (FileReferenceHelper helper : myHelpers) { PsiFileSystemItem root = helper.findRoot(myFile.getProject(), virtualFile); String path = PsiFileSystemItemUtil.findRelativePath(root, helper.getPsiFileSystemItem(myFile.getProject(), virtualFile)); if (path != null) return path; } return null; }