java_gen: fix compile after changes to experimenter