The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
Add AST node for lambda expressions - this includes changes to Tree API.
Comments
SUGGESTED FIX
A webrev of this fix is available at the following URL:
http://hg.openjdk.java.net/jdk8/tl/langtools/rev/c896d95e7469
24-11-2011
EVALUATION
A lambda expression AST node should contains the following info:
*) list of JCVariableDecl (for lambda parameters)
*) lambda body
Since the body can be either a JCBlock or a JCExpression, it would be useful to use an enum to encode the lambda expression kind (i.e. statement lambda vs. expression lambda).