reporters.add(new ClaimAggregator(pStatistic));
}
if (pConfiguration.isAddingLicenses()) {
reporters.add(new LicenseAddingReport(pConfiguration.getCopyrightMessage(), pConfiguration.isAddingLicensesForced()));
}
reporters.add(new SimpleXmlClaimReporter(writer));
final IDocumentAnalyser analyser =
DefaultAnalyserFactory.createDefaultAnalyser(pConfiguration.getHeaderMatcher());
final DefaultPolicy policy = new DefaultPolicy(pConfiguration.getApprovedLicenseNames());
final IDocumentAnalyser[] analysers = {analyser, policy};
DocumentAnalyserMultiplexer analysisMultiplexer = new DocumentAnalyserMultiplexer(analysers);