this.xml.put(padding);
  private void _writeListField(Group group, Field field, String padding)     throws  CompositeNotFoundException,            GroupNotFoundException,            IOException,            MemberNotFoundException,            SchemaException,            SubjectNotFoundException  {    if (!group.canReadField(field)) {      LOG.debug(        "No read privilege. List [" + field.getName() + "] for ["        + group.getName() + "] ignored"      );      return;    }    boolean isComposite = false;    Set     membersSet = null;    if ("members".equals(field.getName()) && group.hasComposite()) {      isComposite = true;      membersSet  = new HashSet();    }     else {      membersSet = group.getImmediateMemberships(field);    }    Collection members = new ArrayList();    members.addAll(membersSet);    if (      (        "members".equals(field.getName()) && !_optionTrue("export.group.members.immediate-only")      )      ||       (        !"members".equals(field.getName()) && !_optionTrue("export.group.lists.immediate-only")      )    )     {      members.addAll(group.getEffectiveMemberships(field));      if ("members".equals(field.getName()) && group.hasComposite()) {        members.addAll(group.getCompositeMemberships());      }    }    if (members.isEmpty() && !isComposite) {      return;    }    this.xml.puts();    this.xml.put(padding);    this.xml.puts(      "<list field='" + this._fixXmlAttribute(field.getName())      + "'  groupType='"      + this._fixXmlAttribute(field.getGroupType().getName()) + "'>"    );    if (isComposite) {      Composite composite = CompositeFinder.findAsOwner(group);      _writeComposite(composite, padding + "  ");    }    _writeMembers(members, group, field, padding + "  ");    this.xml.put(padding);    this.xml.puts(      "</list> <!--/field=" + this._fixXmlAttribute(field.getName()) + "-->"    );  } // private void _writeListField(group, field, padding)