[JSR308] array-valued annotations

John Tang Boyland boyland at solomons.cs.uwm.edu
Thu Jan 25 22:55:59 EST 2007

] Hello,
] I don't think it's appropriate to use annotations like:
] "Document[][@Readonly]". What I mean is that there is no much sense in
] specifying different annotations for different dimensions of the array.

In Java multi-dimensional arrays are NOT single objects.

In Java Object[][][]
need not even be a cubic array -- it may be pyramidal with different
numbers of elements depending on values in earlier dimensions.


More information about the JSR308 mailing list