code: public static List<String> findParamsInQuery(String query, boolean changeToLower) {
  		List<String> result = new ArrayList<>();
  
  		Matcher matcher = PARAM_PATTERN.matcher(query);
  
  		while (matcher.find()) {
  			if (matcher.group("PARAM") != null) {
  				String param;
  				if (changeToLower) {
  					param = matcher.group("PARAM").toLowerCase();
  				} else {
  					param = matcher.group("PARAM");
  				}
  
  				if (!result.contains(param)) {
  					result.add(param);
  				}
  			}
  		}
  
  		return result;
  	}
docs: ------------------------------ UTIL METHODS