ModuleAssembler moduleAssembler = ModuleAssemblerManager.getModuleAssembler(item.getFormat(), item, moduleAssemblerConfiguration);
moduleAssembler.compile();
if ( moduleAssembler.hasErrors() ) {
BuilderResult result = new BuilderResult();
BuilderResultHelper builderResultHelper = new BuilderResultHelper();
result.addLines( builderResultHelper.generateBuilderResults( moduleAssembler.getErrors() ) );
return result;
}
return BuilderResult.emptyResult();
}