[java/cs] gencommon support for FEnumParam