Annotation Interface MinLenFieldInvariant
A specialization of
FieldInvariant
for specifying the minimum length of an array. A class
can be annotated with both this annotation and a FieldInvariant
annotation.- See the Checker Framework Manual:
- Field invariants
-
Required Element Summary
-
Element Details
-
minLen
int[] minLenMin length of the array. Must be greater than the min length of the array as declared in the superclass. -
field
String[] fieldThe 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.
-