FieldInvariant for specifying the minimum length of an array. A class
can be annotated with both this annotation and a FieldInvariant annotation.
| Modifier and Type | Method and Description |
|---|---|
| public String[] | field()
The field that has an array length qualifier in the class on which the field invariant is written. |
| public int[] |
| field | back to summary |
|---|---|
| public String[] field() The field that has an array length qualifier in the class on which the field invariant is written. The field must be final and declared in a superclass. | |
| minLen | back to summary |
|---|---|
| public int[] minLen() Min length of the array. Must be greater than the min length of the array as declared in the superclass. | |