We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
jbock will not assume a default value for any type except java.util.Optional, plus OptionalInt and friends.
java.util.Optional
OptionalInt
In particular, jbock will not use a null default, and any type that isn't Optional represents a required option or parameter.
null
Optional
See the JCommander page for an example.