code: public static TriggerContext on(Collection<Trigger> triggers) {
          List<Trigger> addedTriggers = new ArrayList<Trigger>();
          if (triggers != null) {
              addedTriggers.addAll(triggers);
          }
          return new TriggerContext(addedTriggers);
      }
docs: Adds the specified triggers to the validator under construction.
  
  @param triggers Triggers to be added.
  
  @return Context allowing further construction of the validator using the DSL.