private Name emitWithSpecs(String classNameString, Class<?> baseClass, List<Slot> slots) throws IOException {
assert classNameString != null;
assert baseClass != null;
assert slots != null;
ModelFactory f = environment.getModelFactory();
SimpleName className = f.newSimpleName(classNameString);
ImportBuilder importer = new ImportBuilder(
f,
f.newPackageDeclaration(environment.getEpiloguePackageName(moduleId)),
Strategy.TOP_LEVEL);
importer.resolvePackageMember(className);