fix c java function definition with multi-lines