private @NlsSafe String getRelativePath() {
    final TreeNode parent = getParent();
    String path;
    if (parent instanceof FrameworkDirectoryNode) {
      final VirtualFile parentDir = ((FrameworkDirectoryNode)parent).myDirectory;
      path = VfsUtilCore.getRelativePath(myDirectory, parentDir, File.separatorChar);
      LOG.assertTrue(path != null, myDirectory + " is not under " + parentDir);
    }
    else {
      path = myDirectory.getPresentableUrl();
    }
    return path;
  }
private @NlsSafe String getRelativePath()