private static boolean shouldWrapWithQuotes(@NotNull CharSequence argument, @NotNull List<Character> whiteListCharacters) {
    if (argument.length() == 0) {
      return true;
    }
    for (int i = 0; i < argument.length(); i++) {
      char c = argument.charAt(i);
      if (whiteListCharacters.contains(c)) {
        continue;
      }

      if (SHELL_UNSAFE_CHARACTERS.contains(c)) {
        return true;
      }
    }
    return false;
  }
private static boolean shouldWrapWithQuotes(@NotNull CharSequence argument, @NotNull List<Character> whiteListCharacters)