docs: @SuppressWarnings("unchecked")
      protected static void visitSubreports(DynamicReport dr, Map _parameters) {
          for (DJGroup group : dr.getColumnsGroups()) {
              //Header Subreports
              for (Subreport subreport : group.getHeaderSubreports()) {
                  if (subreport.getDynamicReport() != null) {
                      visitSubreport(dr, subreport);
                      visitSubreports(subreport.getDynamicReport(), _parameters);
                  }
              }
  
              //Footer Subreports
              for (Subreport subreport : group.getFooterSubreports()) {
                  if (subreport.getDynamicReport() != null) {
                      visitSubreport(dr, subreport);
                      visitSubreports(subreport.getDynamicReport(), _parameters);
                  }
              }
          }
  
      }