[java/cs] fix overload + inheritance + cf_params mismatch