Added additional enhancements to the JavaClassGenerator working with
Enumerated types.