@Override
	public Optional<String> transform(Generator gen, Type model) {
        requireNonNulls(gen, model);
        
		if (shouldUseShortName(gen, model)) {
			return Optional.of(shortName(renderTypeName(gen, model)));
		} else {
			return Optional.of(renderTypeName(gen, model));
		}
	}
Transforms from a {@link Type} to java code.

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