code: public void setStaticVariables(final Map<String, ?> variables) {
          if (variables != null) {
              for (final Map.Entry<String, ?> entry : variables.entrySet()) {
                  addStaticVariable(entry.getKey(), entry.getValue());
              }
          }
      }
docs: <p>
  Sets a set of static variables, which will be available at the context
  every time a view resolved by this ViewResolver is processed.
  </p>
  <p>
  This method <b>does not overwrite</b> the existing static variables, it
  simply adds the ones specify to any variables already registered.
  </p>
  <p>
  These static variables are added to the context by the view resolver
  before every view is processed, so that they can be referenced from
  the context like any other context variables, for example:
  {@code ${myStaticVar}}.
  </p>
  
  
  @param variables the set of variables to be added.