We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Java records come very handy to hold parameter values as a replacement for custom classes, as much less custom code is to be written.
Unfortunately JCommander does not allow to put annotations on record components.
To allow the use of records, JCommander should extend the target location of @Parameter to include RECORD_COMPONENT.
@Parameter
RECORD_COMPONENT
The text was updated successfully, but these errors were encountered:
@cbeust WDYT?
Sorry, something went wrong.
No branches or pull requests
Java records come very handy to hold parameter values as a replacement for custom classes, as much less custom code is to be written.
Unfortunately JCommander does not allow to put annotations on record components.
To allow the use of records, JCommander should extend the target location of
@Parameter
to includeRECORD_COMPONENT
.The text was updated successfully, but these errors were encountered: