int start = 0; if (getElementCount() == 0) start = 0;
if (children.length == 0) { if (startOffset == -1) throw new NullPointerException("BranchElement has no children."); }
    public int getStartOffset()    {      int start = 0;      if (getElementCount() == 0)        start = 0; // FIXME: That ain't correct, fix it.      else        start = children[0].getStartOffset();      return start;    }