Example #1
0
 protected void createConsoleModel() {
   this.myModel =
       TemporaryModels.getInstance()
           .create(false, TempModuleOptions.forDefaultModuleWithSourceAndClassesGen());
   if (myModel == null) {
     if (LOG.isEnabledFor(Level.ERROR)) {
       LOG.error("Error: could not create console model");
     }
     return;
   }
 }
 @Override
 public void init() {
   this.myTransientModel =
       TemporaryModels.getInstance().create(false, TempModuleOptions.forDefaultModule());
   new CloneUtil(this.myModel, this.myTransientModel).cloneModelWithAllImports();
 }