Handle of enum case generation