code: public void setLocal(final int i, final V value)
              throws IndexOutOfBoundsException {
          if (i >= locals) {
              throw new IndexOutOfBoundsException(
                      "Trying to access an inexistant local variable " + i);
          }
          values[i] = value;
      }
docs: Sets the value of the given local variable.
  
  @param i
  a local variable index.
  @param value
  the new value of this local variable.
  @throws IndexOutOfBoundsException
  if the variable does not exist.