throw new IllegalStateException();
}
if (reportDefinition instanceof MasterReport)
{
return WizardProcessorUtil.materialize((MasterReport) reportDefinition, new WizardProcessor());
}
else if (reportDefinition instanceof SubReport)
{
return WizardProcessorUtil.materialize((SubReport) reportDefinition, new WizardProcessor());
}
else
{
throw new IllegalStateException();
}