code: public void declareVariables(Variable[] vars) {
          for (int i=0; i<vars.length; i++) {
              vars[i] = declareVariable(vars[i]);
          }
      }
docs: Declare new variables in this scope. Entries in the array are replaced
  with actual Variable objects that should be used instead.