Skip to content

default values

h908714124 edited this page Jun 12, 2021 · 10 revisions

jbock will not assume a default value for any type except java.util.Optional, OptionalInt, OptionalLong and OptionalDouble.

In particular, jbock will not use a null default, and any type that isn't Optional represents a required option or parameter.

See JCommander for an example.

Clone this wiki locally