Join Slack
Powered by
Warning will be like `@Nullable` / `@NotNull` in J...
# language-proposals
m
miha-x64
02/01/2017, 8:36 AM
Warning will be like
@Nullable
/
@NotNull
in Java. If a certain number of elements is
required
, failing to supply them must be an error.
like
@Nonempty vararg
Using both bounds would be better:
@Elements(min = 1, max = 100)
Open in Slack
Previous
Next