Annotation Interface Unreplaceable
@Documented
@Retention(RUNTIME)
@Target({TYPE_USE,TYPE_PARAMETER})
@SubtypeOf(MaybeReplaceable.class)
public @interface Unreplaceable
Calling replace operations such as
set, replaceAll, etc. on this collection will
throw UnsupportedOperationException.
No guarantees are made about grow or shrink operations.
- See the Checker Framework Manual:
- Modifiability Checker