Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@laurentschoelens
Copy link
Collaborator

Fixes #520

Add extra parameter toStringEnums with following usage -XtoString-toStringEnums=true to generate toString methods on enums.

This will allow someone to override the output of enums in custom strategy.
See example in enumtostring project in tests

@laurentschoelens laurentschoelens added enhancement xjc-plugins Issue concerns basics plugins labels Mar 11, 2024
@laurentschoelens laurentschoelens added this to the 4.0.6 milestone Mar 11, 2024
Copy link
Collaborator

@mattrpav mattrpav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mattrpav mattrpav merged commit d4a51e5 into highsource:master Mar 19, 2024
@mattrpav mattrpav deleted the jt-520 branch March 19, 2024 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement xjc-plugins Issue concerns basics plugins

Projects

None yet

Development

Successfully merging this pull request may close these issues.

customize toString() on enums

2 participants