@Override
	public Optional<String> transform(Generator gen, Constructor model) {
        requireNonNulls(gen, model);

        return Optional.of(
            renderJavadoc(gen, model) +
            renderAnnotations(gen, model) +
            renderModifiers(gen, model, PUBLIC, PRIVATE, PROTECTED) +
            renderGenerics(gen, model) +
            renderName(gen, model)
                .orElseThrow(() -> new UnsupportedOperationException(
                    "Could not find a nameable parent of constructor."
                )) +
            ((splitFields(model)) ? "(" + Formatting.nl() + Formatting.tab() + Formatting.tab() : "(") +
            renderFields(gen, model) + ") " +
            renderThrows(gen, model) +
            renderCode(gen, model)
        );
	}
Transforms from a {@link Constructor} to java code.

@author Emil Forslund
common-parent/codegen/src/main/java/com/speedment/common/codegen/internal/java/view/ConstructorView.java