private static void addAllInfos(Validator.ValidationHost host, List<? extends ValidationInfo> highlightInfos) {
    for (ValidationInfo info : highlightInfos) {
      host.addMessage(info.element, info.message, info.type);
    }
  }
private static void addAllInfos(Validator.ValidationHost host, List<? extends ValidationInfo> highlightInfos)