[type-annos-observers] Declaration annotations on lambda formal parameters

Alex Buckley alex.buckley at oracle.com
Wed Dec 12 10:31:32 PST 2012


I recently wrote to the JSR 335 (Lambda) Expert Group, asking if there 
was any interest in declaration annotations on a lambda expression's 
formal parameter:

http://mail.openjdk.java.net/pipermail/lambda-spec-comments/2012-December/000003.html

After some discussion with the 335 spec lead, the answer is "no", 
declaration annotations are not needed on lambda parameters.

Consequently, we simply need to support the various locations for type 
annotations that I outlined in the mail "Type annotations for 
method/ctor reference expressions".

Alex


More information about the type-annotations-spec-observers mailing list