Java java.lang.invoke MethodHandle fields, constructors, methods, implement or subclass

Example usage for Java java.lang.invoke MethodHandle fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.lang.invoke MethodHandle.

The text is from its open source code.

Method

MethodHandleasType(MethodType newType)
Produces an adapter method handle which adapts the type of the current method handle to a new type.
MethodHandlebindTo(Object x)
Binds a value x to the first argument of a method handle, without invoking it.
Objectinvoke(Object... args)
Invokes the method handle, allowing any caller type descriptor, and optionally performing conversions on arguments and return values.
ObjectinvokeExact(Object... args)
Invokes the method handle, allowing any caller type descriptor, but requiring an exact type match.
ObjectinvokeWithArguments(Object... arguments)
Performs a variable arity invocation, passing the arguments in the given array to the method handle, as if via an inexact #invoke invoke from a call site which mentions only the type Object , and whose actual argument count is the length of the argument array.
ObjectinvokeWithArguments(java.util.List arguments)
Performs a variable arity invocation, passing the arguments in the given list to the method handle, as if via an inexact #invoke invoke from a call site which mentions only the type Object , and whose actual argument count is the length of the argument list.