return indices; }
  protected int[] getIndices(TreePath path) {    int[] indices = new int[path.getPathCount() - 1];    TreeNode parent = (TreeNode) path.getPathComponent(0);    for (int i = 0; i < indices.length; i++) {      TreeNode child =  (TreeNode) path.getPathComponent(i + 1);      indices[i] = parent.getIndex(child);      parent = child;    }    return indices;  }