docs: private void toRecipients(List<String> recipientData, boolean isGroup, String filter, Collection<Recipient> result) {
          result.clear();
  
          for (String data : recipientData) {
              Recipient recipient = new Recipient(data, isGroup);
  
              if (StringUtils.startsWithIgnoreCase(recipient.getName(), filter)) {
                  result.add(recipient);
              } else {
                  break;
              }
          }
      }