Package java.lang.invoke
Class LambdaMetafactory
java.lang.Object
java.lang.invoke.LambdaMetafactory
public class LambdaMetafactory extends Object
Stub class needed to satisfy Java 8 compilers when compiling lambdas.
-
Constructor Summary
Constructors Constructor Description LambdaMetafactory() -
Method Summary
Modifier and Type Method Description static CallSitealtMetafactory(MethodHandles.Lookup caller, String invokedName, MethodType invokedType, Object... args)Stub method needed to satisfy Java 8 compilers when compiling lambdas.static CallSitemetafactory(MethodHandles.Lookup caller, String invokedName, MethodType invokedType, MethodType samMethodType, MethodHandle implMethod, MethodType instantiatedMethodType)Stub method needed to satisfy Java 8 compilers when compiling lambdas.
-
Constructor Details
-
LambdaMetafactory
public LambdaMetafactory()
-
-
Method Details
-
altMetafactory
public static CallSite altMetafactory(MethodHandles.Lookup caller, String invokedName, MethodType invokedType, Object... args)Stub method needed to satisfy Java 8 compilers when compiling lambdas.- Throws:
UnsupportedOperationException- whenever called.
-
metafactory
public static CallSite metafactory(MethodHandles.Lookup caller, String invokedName, MethodType invokedType, MethodType samMethodType, MethodHandle implMethod, MethodType instantiatedMethodType)Stub method needed to satisfy Java 8 compilers when compiling lambdas.- Throws:
UnsupportedOperationException- whenever called.
-