MethodHandle.Invoke(Object[]) Method

Definition

Invokes the method handle, allowing any caller type descriptor, and optionally performing conversions on arguments and return values.

[Android.Runtime.Register("invoke", "([Ljava/lang/Object;)Ljava/lang/Object;", "", ApiSince=26)]
public Java.Lang.Object? Invoke (params Java.Lang.Object[]? args);
[<Android.Runtime.Register("invoke", "([Ljava/lang/Object;)Ljava/lang/Object;", "", ApiSince=26)>]
member this.Invoke : Java.Lang.Object[] -> Java.Lang.Object

Parameters

args
Object[]

the signature-polymorphic parameter list, statically represented using varargs

Returns

the signature-polymorphic result, statically represented using Object

Attributes

Remarks

Java documentation for java.lang.invoke.MethodHandle.invoke(java.lang.Object).

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.

Applies to