@Documented
@Retention(value=RUNTIME)
@Target(value=FIELD)
public static @interface Immutable.Array
Identifies that an array-type field should be considered immutable. Note
that for an array to be considered immutable, its component type must
also be immutable.
- Since:
- 0.17
- To do:
- #33 Let's prevent modifications to arrays having this annotation,
somehow. Perhaps we can create an aspect that will throw an exception
should something try to write into the array. See
https://bugs.eclipse.org/bugs/show_bug.cgi?id=157031