code: protected String[] getTokens(String sql, int limit) {
      String result = removeComments(sql);
      String generated = result.replaceFirst("=", " = ");
      return generated.split("\\s+", limit);
    }
docs: Remove comments from the given sql string and split it into parts based on all space characters
  
  @param sql The sql statement to break into parts
  @param limit The maximum number of times the pattern should be applied
  @return String array with all the parts of the sql statement