docs: private List<Occupant> getOccupants(MUCRole role) throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException {
          MUCAdmin iq = new MUCAdmin();
          iq.setTo(room);
          iq.setType(IQ.Type.get);
          // Set the specified role. This may request the list of moderators/participants.
          MUCItem item = new MUCItem(role);
          iq.addItem(item);
  
          MUCAdmin answer = (MUCAdmin) connection.createStanzaCollectorAndSend(iq).nextResultOrThrow();
          // Get the list of participants from the server's answer
          List<Occupant> participants = new ArrayList<Occupant>();
          for (MUCItem mucadminItem : answer.getItems()) {
              participants.add(new Occupant(mucadminItem));
          }
          return participants;
      }