*/
protected final ShellModuleSpaceHost doCreateShellModuleSpaceHost(
TreeLogger logger, TypeOracle typeOracle, ModuleDef moduleDef) {
// Clear out the shell temp directory.
Util.recursiveDelete(options.getShellBaseWorkDir(moduleDef), true);
return new ShellModuleSpaceHost(logger, typeOracle, moduleDef,
options.getGenDir(), new File(options.getShellBaseWorkDir(moduleDef),
"gen"), doCreateArtifactAcceptor(moduleDef));
}