You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any enum that contains at least one value which start with e.g. a digit will have all of it's values renamed to VALUE_x in java code generation. That should not happen. Instead an underscore should be added to create a valid java identifier, as it is done at other places in the java code generation too: a package called 12 will be called _12 in generated java code. That should also apply to enum values.
The text was updated successfully, but these errors were encountered:
… leading digits
The first character of an enum value name is checked whether it complies with isJavaIdentifierStart, if not an underscore prefix will be added to that name.
… leading digits
The first character of an enum value name is checked whether it complies with isJavaIdentifierStart, if not an underscore prefix will be added to that name.
Any enum that contains at least one value which start with e.g. a digit will have all of it's values renamed to
VALUE_x
in java code generation. That should not happen. Instead an underscore should be added to create a valid java identifier, as it is done at other places in the java code generation too: a package called12
will be called_12
in generated java code. That should also apply to enum values.The text was updated successfully, but these errors were encountered: