};
}
});
generator.setInput(genModel);
Diagnostic diagnostic = generator.generate(genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE,
new BasicMonitor());
if (diagnostic.getSeverity() != Diagnostic.OK)
System.err.println(diagnostic);
} catch (Throwable t) {
t.printStackTrace();