private TreeNode getRoot(Tree tree)
public TreeNode getRoot(Tree tree)
  private TreeNode getRoot(Tree tree)  {    TreeNode root = null;        Set roots = tree.getRoots();    Iterator rootsIterator = roots.iterator();    while (rootsIterator.hasNext())    {      root = (TreeNode)(rootsIterator.next());    }        return root;  }