cbeust/jcommander

Support for Java Records

mkarg opened this issue · 1 comments

mkarg commented

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.

mkarg commented

@cbeust WDYT?