@Override
	public Optional<String> transform(Generator gen, Generic model) {
        requireNonNull(gen);
		requireNonNull(model);
        
		if (!model.getLowerBound().isPresent() && model.getUpperBounds().isEmpty()) {
			return Optional.empty();
		} else {
			return Optional.of(
				model.getLowerBound().orElse("") +
				gen.onEach(model.getUpperBounds()).collect(joinIfNotEmpty("&", 
						model.getLowerBound().isPresent() ? boundsType(model) : "",
						""
					)
				)
			);
		}
	}
Transforms from a {@link Generic} to java code.

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