@Target(value=PARAMETER) @Retention(value=RUNTIME) public @interface Length
String
min()
max()
Note: If a parameter has min() == 0, it will automatically be marked as optional.
@Range(from=0L,to=2147483647L) int
max
min
public abstract @Range(from=0L,to=2147483647L) int min
A min of 0 implies the parameter to be optional
public abstract @Range(from=0L,to=2147483647L) int max