code: @Deprecated
      public static int indexOf(CharSequence s, int codePoint) {
          int cp;
          for (int i = 0; i < s.length(); i += Character.charCount(cp)) {
              cp = Character.codePointAt(s, i);
              if (cp == codePoint) {
                  return i;
              }
          }
          return -1;
      }
docs: Find code point in string.
  
  @deprecated This API is ICU internal only.
  @hide draft / provisional / internal are hidden on Android