code: private void set(final int local, final int type) {
          // creates and/or resizes the output local variables array if necessary
          if (outputLocals == null) {
              outputLocals = new int[10];
          }
          int n = outputLocals.length;
          if (local >= n) {
              int[] t = new int[Math.max(local + 1, 2 * n)];
              System.arraycopy(outputLocals, 0, t, 0, n);
              outputLocals = t;
          }
          // sets the local variable
          outputLocals[local] = type;
      }
docs: Sets the output frame local variable type at the given index.
  
  @param local
  the index of the local that must be set.
  @param type
  the value of the local that must be set.