private char normalizedCharAt(@NotNull CharSequence text, char @Nullable [] textArray, int index) {
    char lastChar = textArray != null ? textArray[index] : text.charAt(index);
    if (myCaseSensitive) {
      return lastChar;
    }
    return myLowercaseTransform ? Strings.toLowerCase(lastChar) : Strings.toUpperCase(lastChar);
  }
private char normalizedCharAt(@NotNull CharSequence text, char @Nullable [] textArray, int index)