Merge into master from pull request #276:
java_gen: add PrimitiveSinkUtils (https://github.com/floodlight/loxigen/pull/276)