/**
  * Sets the text before a change.
  *
  * @param beforeText The text before the change.
  * @throws IllegalStateException If called from an AccessibilityService.
  */
 public void setBeforeText(CharSequence beforeText) {
   IMPL.setBeforeText(mRecord, beforeText);
 }