@Retention(value=RUNTIME) @Target(value=FIELD) public @interface MaxOccurrences
If you want to specify that the option may only occur at most once then you
can use the simpler Once annotation instead.
| Modifier and Type | Optional Element and Description |
|---|---|
int |
occurrences
The maximum number of occurrences for this option
|
Copyright © 2012–2022. All rights reserved.