code: public List<ServiceStatus> getCriticalStatuses() {
          List<ServiceStatus> list = new ArrayList<ServiceStatus>();
  
          for (MonitoredService m : criticals) {
              ServiceStatus serviceStatus = m.getServiceStatus();
              list.add(serviceStatus);
          }
          return list;
      }
docs: Get the {@link List} of {@link ServiceStatus} instances for all
  critical subsystems.
  @return the {@link List} of {@link ServiceStatus} instances.