[JSR308] Full list of locations for annotations

Michael Ernst mernst at csail.mit.edu
Sun Feb 25 07:10:25 EST 2007

We have made good progress on discussing details for certain annotations,
but I would like to look at the bigger picture, and in particular to
discuss whether there are any other annotation locations that we should
consider.  (However, I do *not* want to discuss the merits of these
locations now -- I only want to get them on the table, so that we remember
to discuss them, individually, at the proper time.)

Here is the current status of our deliberations, as I understand it.
I've also put this in the "Open issues" list at

Definitely supported:
 * types
Possibly supported (under current discussion)
 * local variables
 * each level of an array
 * statements
Definitely not supported:
 * expressions
 * blocks and/or loops (as a restricted special case of statements)
 * partial constructs (such as only the body of a loop)

If there are other locations we should put on the "Possibly supported" list
(and then eventually move to one of the other categories), please raise it.
For now, let's focus on the big picture, and we can dive into specific
details about the candidate locations later.


More information about the JSR308 mailing list