[gen-classes] Generate multiple @:overload definitions