Annotation Interface GrowOnly


An expression of type @GrowOnly may not be used to remove elements, e.g., by calling remove() or clear() on it. The underlying collection is guaranteed not to shrink via operations on aliases.
See the Checker Framework Manual:
Grow-only Checker