applyReportTemplates(reportAnnotation.summary(), reportAnnotation.detailTemplate(), handler.getClass(), executionContext);
}
} else {
VisitAfterReport reportAnnotation = handler.getClass().getAnnotation(VisitAfterReport.class);
if (reportAnnotation != null && evalReportCondition(reportAnnotation.condition())) {
applyReportTemplates(reportAnnotation.summary(), reportAnnotation.detailTemplate(), handler.getClass(), executionContext);
}
}
if (reportDetail == null) {
// No template ...