static Supplier<SpeedmentException> foundNoProjectException() {
        return () -> new SpeedmentException(
            "Could not find any project node in document"
        );
    }
A more specific {@link Translator} that results in a CodeGen {@link File}.
The class contains many helper-functions to make the generation process
easier.

@author       Per Minborg
@param <DOC>  the document type
@param <T>    the codegen model type
@since        2.0.0
generator-parent/generator-translator/src/main/java/com/speedment/generator/translator/JavaClassTranslator.java