[cs/java] use @:flatEnum instead of iterating enum fields again
[cs/java] use @:flatEnum instead of iterating enum fields again

pleclech/hacking-haxe,pleclech/hacking-haxe,pleclech/hacking-haxe,pleclech/hacking-haxe,pleclech/hacking-haxe,pleclech/hacking-haxe