Fixed java class snippet python interp.