docs: public void setVariables(List<VariableInitializer> variables) {
          assertNotNull(variables);
          this.variables.clear();
          for (VariableInitializer vi : variables) {
              addVariable(vi);
          }
      }