[JSR308] Type annotation syntax for arrays
Richard Gomes
rgomes1997 at yahoo.co.uk
Mon Oct 27 14:11:44 EDT 2008
Hi Mike,
Some feedback about "Type annotation syntax for arrays":
Seems to be good :)
btw... we havent yet the opportunity to check JQuantLib against type
annotations. I dont think we will do it this year :( as we are still in the
way to finish our second release.
Anyway, as probably I will lead the effort to implement JSR-308 in JQuantLib,
it's good to know how type annotations for arrays was defined. It's
absolutely intuitive.
Kind Regards
--
Richard Gomes
http://www.jquantlib.org/index.php/User:RichardGomes
M:+44(77)9955-6813
On Monday 27 October 2008 16:00:42 jsr308-request at lists.csail.mit.edu wrote:
> Send JSR308 mailing list submissions to
> jsr308 at lists.csail.mit.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.csail.mit.edu/mailman/listinfo/jsr308
> or, via email, send a message with subject or body 'help' to
> jsr308-request at lists.csail.mit.edu
>
> You can reach the person managing the list at
> jsr308-owner at lists.csail.mit.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of JSR308 digest..."
>
>
> Today's Topics:
>
> 1. Type annotation syntax for arrays (Michael Ernst)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 27 Oct 2008 11:22:16 +0100
> From: Michael Ernst <mernst at csail.mit.edu>
> Subject: [JSR308] Type annotation syntax for arrays
> To: "JSR 308 (Annotations) mailing list" <jsr308 at lists.csail.mit.edu>
> Message-ID: <18693.38488.1206.836005 at swsmde.ds.mpi-sws.mpg.de>
> Content-Type: text/plain; charset=us-ascii
>
> In August, the JSR 308 specification changed the syntax for array
> annotations. From the changelog:
>
> Array syntax is now uniformly prefix:
> @English String @NonNull [] @Length(10) []
> is a non-null array of length-10 arrays of English Strings.
>
> I have heard only positive comments about this, so I assume that everyone
> is happy with the improvement. The design is discussed in section B.3 of
> the the non-normative part of the specification:
>
>
> http://pag.csail.mit.edu/jsr308/specification/java-annotation-design.html#a
>rray-syntax
>
> -Mike
>
>
>
> ------------------------------
>
> _______________________________________________
> JSR308 mailing list
> JSR308 at lists.csail.mit.edu
> https://lists.csail.mit.edu/mailman/listinfo/jsr308
>
>
> End of JSR308 Digest, Vol 18, Issue 14
> **************************************
--
Richard Gomes
http://www.jquantlib.org/index.php/User:RichardGomes
H:+44(20)8555-7030
M:+44(77)9955-6813
More information about the JSR308
mailing list