Annotation Interface MaybeModifiable
@Documented
@Retention(RUNTIME)
@Target({TYPE_USE,TYPE_PARAMETER})
public @interface MaybeModifiable
Convenience alias meaning
@MaybeGrowable @MaybeSeqGrowable @MaybeShrinkable @MaybeReplaceable. Represents an
unknown or arbitrary modifiability capability; the checker cannot determine whether the
collection is growable, sequenced-growable, shrinkable, or replaceable.
This annotation is not part of the type hierarchy; the Modifiability Checker expands it to
@MaybeGrowable @MaybeSeqGrowable @MaybeShrinkable @MaybeReplaceable on each annotated
type.
- See the Checker Framework Manual:
- Modifiability Checker