Engine engine = new Engine(environment, moduleId, outputName, index, dataType, orderingInfo);
CompilationUnit source = engine.generate();
environment.emit(source);
Name packageName = source.getPackageDeclaration().getName();
SimpleName simpleName = source.getTypeDeclarations().get(0).getName();
QualifiedName name = environment
.getModelFactory()
.newQualifiedName(packageName, simpleName);
LOG.debug("Finish preparing output file orderer: batch={}, flow={}, output={}, class={}", new Object[] {
environment.getBatchId(),
environment.getFlowId(),
outputName,
name.toNameString(),
});
return name;
}