docs: public <T> void addQueryParameters( List<? extends Object> paramList, String listId, Class<T> type, String fieldName,
              String joinClause, boolean union ) {
          List<T> listIdParams;
          if( paramList != null && paramList.size() > 0 ) {
              Object inputObject = paramList.get(0);
              listIdParams = checkAndConvertListToType(paramList, inputObject, listId, type);
          } else {
              return;
          }
          String paramName = generateParamName();
          StringBuilder queryClause = new StringBuilder("( " + fieldName + " IN (:" + paramName + ")");
          if( joinClause != null ) {
              queryClause.append(" AND " + joinClause);
          }
          queryClause.append(" )");
          addToQueryBuilder(queryClause.toString(), union, paramName, listIdParams );
      }