Class InternalLambdaFactory

java.lang.Object
org.lanternpowered.lmbda.InternalLambdaFactory

public final class InternalLambdaFactory
extends java.lang.Object
Separated from LambdaFactory to keep it clean.
  • Constructor Summary

    Constructors
    Constructor Description
    InternalLambdaFactory()  
  • Method Summary

    Modifier and Type Method Description
    static @NonNull java.lang.invoke.MethodHandle requestMethodHandle()
    Deprecated.
    Should not be used directly, internal use only

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • InternalLambdaFactory

      public InternalLambdaFactory()
  • Method Details

    • requestMethodHandle

      @Deprecated public static @NonNull java.lang.invoke.MethodHandle requestMethodHandle()
      Deprecated.
      Should not be used directly, internal use only
      Requests a MethodHandle for the construction of a lambda implementation.

      Calling this method outside of construction phase will result in a IllegalStateException.

      Returns:
      The method handle