private static @NotNull String removeWhiteSpacesFrom(final @NotNull String token) {
    final StringBuilder result = new StringBuilder();
    for (char c : token.toCharArray()) {
      if (c != ' ') result.append(c);
    }
    return result.toString();
  }
private static @NotNull String removeWhiteSpacesFrom(final @NotNull String token)