Skip to content

default values

H90 edited this page May 15, 2021 · 10 revisions

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

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

See the JCommander page for an example.

Clone this wiki locally