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

		return Optional.of(
			Stream.of(model.getText().split(nl()))
/*				.filter(s -> !s.isEmpty())*/
/*				.filter(s -> !nl().equals(s))*/
                .map(s -> s.isEmpty() ? s : " " + s)
				.collect(joining(LICENSE_DELIMITER, LICENSE_PREFIX, LICENSE_SUFFIX))
		);
	}
Transforms from a {@link Javadoc} to java code.

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