Something I didn't realize is that genjava allows using java-native enums as Haxe enums. The only way to support that would be to make our enums extend java.lang.Enum so there's a common API.
This isn't entirely free because the java.lang.Enum constructor wants a string of the enum name. It would also mean dropping (parts of) the annotation-based reflection approach.
Something I didn't realize is that genjava allows using java-native enums as Haxe enums. The only way to support that would be to make our enums extend
java.lang.Enumso there's a common API.This isn't entirely free because the
java.lang.Enumconstructor wants a string of the enum name. It would also mean dropping (parts of) the annotation-based reflection approach.