MethodHandles.ExactInvoker(MethodType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Produces a special <em>invoker method handle</em> which can be used to
invoke any method handle of the given type, as if by MethodHandle#invokeExact invokeExact.
[Android.Runtime.Register("exactInvoker", "(Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;", "", ApiSince=26)]
public static Java.Lang.Invoke.MethodHandle? ExactInvoker (Java.Lang.Invoke.MethodType? type);
[<Android.Runtime.Register("exactInvoker", "(Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;", "", ApiSince=26)>]
static member ExactInvoker : Java.Lang.Invoke.MethodType -> Java.Lang.Invoke.MethodHandle
Parameters
- type
- MethodType
the desired target type
Returns
a method handle suitable for invoking any method handle of the given type
- Attributes
Remarks
Java documentation for java.lang.invoke.MethodHandles.exactInvoker(java.lang.invoke.MethodType).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.