code: @Override
      public int replace(Replaceable text,
                         int start,
                         int limit,
                         int[] cursor) {
  
          // First delegate to subordinate replacer
          int len = replacer.replace(text, start, limit, cursor);
          limit = start + len;
  
          // Now transliterate
          limit = translit.transliterate(text, start, limit);
  
          return limit - start;
      }
docs: UnicodeReplacer API