@Override
    public File get() {
        final T generatedClass = creator.generate(document);
        final File file = File.of(getSupport().baseDirectoryName() + "/"
            + (isInGeneratedPackage() ? "generated/" : "")
            + generatedClass.getName() + ".java"
        );

        file.add(generatedClass);
        file.call(new AutoImports(getCodeGenerator().getDependencyMgr()));
        file.call(new AlignTabs<>());
        return file;
    }
A very basic implementation of {@link Translator} that delegates most of the
work to a single {@link Function}.

@author Emil Forslund
@since  3.1.4
generator-parent/generator-translator/src/main/java/com/speedment/generator/translator/internal/SimpleTranslator.java