kingsley
09/19/2016, 1:38 PMbar2 is perfectly fine, injecting the foobar(1) directly into the call site. However, bar still creates an annonymous instance of Function1. Inlining doesn't seem to work here at all
Java 8's bytecode on the other hand uses INVOKEDYNAMIC for both lambda and method references.