java_gen: add support for bsn_in_ports