In this article they say:
Anonymous compiles to a class, while lambda is an invokedynamic instruction.
As I understand when we create lambda in java then this lambda compiler doesn't create a separate class. If it is correct, is it possible to create an instance of lambda without generating a class in byte buddy? If yes, could anyone give example of how to do it for this example:
Function<Integer, Integer> f = (x) -> { return x * x; };