code: public static R create(String text) {
          R run = factory.createR();
          setText(run, text);
          return run;
      }
docs: Creates a new run with the specified text.
  
  @param text the initial text of the run.
  @return the newly created run.