public static int shiftForward(@NotNull CharSequence buffer, int offset, @NotNull String chars) {
    return shiftForward(buffer, offset, buffer.length(), chars);
  }
public static int shiftForward(@NotNull CharSequence buffer, int offset, @NotNull String chars)