code: @Deprecated
      public void setText(String text) {
          if (text == null) {
              throw new NullPointerException();
          }
          this.text = text;
          this.begin = 0;
          this.end = text.length();
          this.pos = 0;
      }
docs: Reset this iterator to point to a new string.  This package-visible
  method is used by other java.text classes that want to avoid allocating
  new StringCharacterIterator objects every time their setText method
  is called.
  
  @param  text   The String to be iterated over
  @deprecated ICU 2.4. Use java.text.StringCharacterIterator instead.