private static int skipWhitespaces(CharSequence charSequence, int offset2) {
    while (offset2 < charSequence.length() && Character.isWhitespace(charSequence.charAt(offset2))) {
      offset2++;
    }
    return offset2;
  }
private static int skipWhitespaces(CharSequence charSequence, int offset2)