On Mon, Jan 7, 2013 at 5:33 PM, Remi Forax <span dir="ltr"><<a href="mailto:forax@univ-mlv.fr" target="_blank">forax@univ-mlv.fr</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 01/07/2013 07:16 PM, Brian Goetz wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I think this goes into the general bucket of "you can't do reflection below the method level in Java", and lambda expressions are expressions and therefore below the method level. Is lambda somehow special here?<br>
</blockquote>
<br></div>
Lambda are anonymous functions, so yes, they are special. They can be called, have parameters, like methods so reflection should work otherwise you can't specify meta-protocol using lambdas and having JEE being able to use lambdas seems a good idea.<br>
</blockquote><div><br></div><div>What does "you can't specify meta-protocol using lambdas" mean, and why is it a reason to add further complexity?</div><div><br></div><div>Reflection for lambdas sounds like a bad idea to me.</div>
<div><br></div><div>--tim</div></div>