Annotating the functional interface of a Lambda Expression
After digging into the Java SE 8 Final Specification I’m able to answer my questions. (1) In response to my first question Is there any way to annotate a lambda expression similar to annotating a corresponding anonymous class, so one gets the expected “Hello World” output in the example above? No. When annotating the Class … Read more