_writeStemPrivs(s, stem, writer, padding);
if(optionTrue("export.privs.for-parents")) { _writeStemPrivs(s, stem, writer, padding); }
  private void _writeStems(    GrouperSession s, Stack stems, PrintWriter writer, String padding  )     throws  Exception   {    writeStemsCounter++;    Object obj = stems.pop();    if (obj instanceof Group) {      _writeFullGroup(s, (Group) obj, writer, padding);      return;    }    Stem stem = (Stem) obj;    if (stems.isEmpty()) {      if (includeParent || writeStemsCounter > 1) {        _writeFullStem(s, stem, writer, padding + "  ");      }       else {        _writeStemBody(s, stem, writer, padding + "  ");      }      return;    }     else {      _writeBasicStemHeader(s, stem, writer, padding);      _writeStemPrivs(s, stem, writer, padding);      _writeStems(s, stems, writer, padding + "  ");      _writeBasicStemFooter(s, stem, writer, padding);    }  } // private void _writeStems(s, stems, writer, padding)