LambdaMetafactory
Class LambdaMetafactory
- java.lang.Object
-
- java.lang.invoke.LambdaMetafactory
public class LambdaMetafactory extends Object
Methods to facilitate the creation of simple "function objects" that implement one or more interfaces by delegation to a provided MethodHandle
, possibly after type adaptation and partial evaluation of arguments. These methods are typically used as bootstrap methods for invokedynamic
call sites, to support the lambda expression and method reference expression features of the Java Programming Language.
Indirect access to the behavior specified by the provided MethodHandle
proceeds in order through three phases: