[JSR308] Why do annotations only allow limited set of attribute types?

Artemus Harper subanark at gmail.com
Wed Sep 24 14:26:33 EDT 2008

The annotations are limited to constant values. Remember you can have
annotations within annotations, and those can be in arrays. This allows for
very complex and expressive annotations. Can you give an example of what you
are trying to represent that you feel is not met by the current

On Wed, Sep 24, 2008 at 9:27 AM, David Goodenough <
david.goodenough at linkchoose.co.uk> wrote:

> The set of types allowed for attributes of annotations is very limited.
>  Why?
> I have a need for more generic attributes, which I can detail if needed,
> and
> this looks like an arbitrary and pointless restriction.
> David
> _______________________________________________
> JSR308 mailing list
> JSR308 at lists.csail.mit.edu
> https://lists.csail.mit.edu/mailman/listinfo/jsr308

Artemus Harper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.csail.mit.edu/pipermail/jsr308/attachments/20080924/82d8b4a8/attachment.htm 

More information about the JSR308 mailing list