|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Documented @Retention(value=RUNTIME) @Target(value={FIELD,LOCAL_VARIABLE,METHOD,PARAMETER,TYPE}) @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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |