code: public static void checkUnusedParameters(SQLiteModelMethod method, Set<String> usedMethodParameters, TypeName excludedClasses) {
  		int paramsCount = method.getParameters().size();
  		int usedCount = usedMethodParameters.size();
  
  		if (paramsCount > usedCount) {
  			StringBuilder sb = new StringBuilder();
  			String separator = "";
  			for (Pair<String, TypeName> item : method.getParameters()) {
  				if (excludedClasses != null && item.value1.equals(excludedClasses)) {
  					usedCount++;
  				} else {
  					if (!usedMethodParameters.contains(item.value0)) {
  						sb.append(separator + "'" + item.value0 + "'");
  						separator = ", ";
  					}
  				}
  			}
  
  			if (paramsCount > usedCount) {
  				throw (new InvalidMethodSignException(method, "unused parameter(s) " + sb.toString()));
  			}
  		}
  	}
docs: Check if there are unused method parameters. In this case an exception
  was throws.
  
  @param method
  the method
  @param usedMethodParameters
  the used method parameters
  @param excludedClasses
  the excluded classes