Interface MethodCallerFactory


public interface MethodCallerFactory
Factory for creating MethodCallers for methods.
  • Method Details

    • createFor

      @NotNull @NotNull MethodCaller createFor(@NotNull @NotNull Method method) throws Throwable
      Creates a new MethodCaller for the specified method.
      Parameters:
      method - Method to create for
      Returns:
      The reflective method caller
      Throws:
      Throwable - Any exceptions during creation
    • defaultFactory

      static MethodCallerFactory defaultFactory()
      Returns the default MethodCallerFactory, which uses the method handles API to create method callers.
      Returns:
      The default method caller factory.