public void setFrame(Frame frame) {
      if (frame == null) {
        throw new NullPointerException("frame == null");
      }

      this.frame = frame;
    }
Sets the frame to act on.

@param frame {@code non-null;} the frame
android/android_framework/dex-maker/src/main/java/com/android/dx/cf/code/Simulator.java