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, OptionalInt, OptionalLong and OptionalDouble.
java.util.Optional
OptionalInt
OptionalLong
OptionalDouble
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 JCommander for an example.