*/
public void process(JavaDataModelDriver driver) throws IOException {
if (driver == null) {
throw new IllegalArgumentException("driver must not be null"); //$NON-NLS-1$
}
DmdlSemantics semantics = analyze();
JavaModelClassGenerator generator = new JavaModelClassGenerator(semantics, conf, driver);
Collection<ModelDeclaration> models = semantics.getDeclaredModels();
LOG.info(Messages.getString("GenerateTask.monitorGenerateStarting"), models.size()); //$NON-NLS-1$
for (ModelDeclaration model : models) {
LOG.info(Messages.getString("GenerateTask.monitorGenerateModel"), model.getName()); //$NON-NLS-1$
generator.emit(model);
}