Fleshes out stmt javagen