docs: private void calculateHighestAlert() {
          synchronized (alerts) {
              highestAlert = null;
              for (Alert alert : alerts) {
                  if (isHighestAlert(alert)) {
                      highestAlert = alert;
                  }
              }
              calculateHighestAlert = false;
          }
      }