checkers.igj.quals
Annotation Type ReadOnly


@Documented
@Retention(value=RUNTIME)
@TypeQualifier
@SubtypeOf(value={})
public @interface ReadOnly

Indicates that the annotated reference is a ReadOnly reference. A ReadOnly reference could refer to a Mutable or an Immutable object. An object may not be mutated through a read only reference, except if the field is marked Assignable. Only a method with a readonly receiver can be called using a readonly reference.

checker.framework.manual
#igj-checker IGJ Checker