public CompiledType emit(String moduleId, List<ResolvedSlot> slots) throws IOException {
LOG.debug("\"{}\"エピローグ用のレデューサーを生成します", moduleId);
Engine engine = new Engine(environment, moduleId, slots);
CompilationUnit source = engine.generate();
environment.emit(source);
Name packageName = source.getPackageDeclaration().getName();
SimpleName simpleName = source.getTypeDeclarations().get(0).getName();
Name name = environment.getModelFactory().newQualifiedName(packageName, simpleName);
LOG.debug("エピローグ用レデューサーには{}が利用されます", name);
return new CompiledType(name);
}