Will it be possible to annotate lambda expression in Java 9? : <p><a href="https://stackoverflow.com/questions/22375891/annotating-the-functional-interface-of-a-lambda-expression">This question</a> is now over 3 years old and specifically addressed Java 8, with the accepted answer also citing the <a href="http://download.oracle.com/otndocs/jcp/java_se-8-fr-eval-spec/index.html" rel="noreferrer">Java SE 8 Final Specification</a>.</p>

<p>I would be interested if something regarding this question will change in Java 9: Is there any way to annotate a lambda expression similar to annotating a corresponding anonymous class?</p>

<hr>

<p><strong>Example:</strong></p>

<p>Annotation:</p>

<pre><code>@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE_USE)
public @interface MyTypeAnnotation {
    public String value();
}
</code></pre>

<p>Working annotation of anonymous class:</p>

<pre><code>Consumer&lt;String&gt; consumer = new @MyTypeAnnotation("Hello ") Consumer&lt;String&gt;() {
    @Override
    public void accept(String str) {
        System.out.println(str);
    }
};
</code></pre>

<p>Annotating a lamba expression, currently not working in Java 8:</p>

<pre><code>Consumer&lt;String&gt; myAnnotatedConsumer = @MyTypeAnnotation("Hello") (p -&gt; System.out.println(p));
</code></pre>
