Annotation Interface Shrinkable
@Documented
@Retention(RUNTIME)
@Target({TYPE_USE,TYPE_PARAMETER})
@SubtypeOf(UnshrinkableRef.class)
public @interface Shrinkable
An expression of type
@Shrinkable
may be used to remove elements, e.g., by calling
remove()
or clear()
on it.- See the Checker Framework Manual:
- Grow-only Checker