Declaration annotations on lambda formal parameters

Alex Buckley alex.buckley at
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:

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".


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