Dela via


MethodHandle.Type Method

Definition

Reports the type of this method handle.

[Android.Runtime.Register("type", "()Ljava/lang/invoke/MethodType;", "GetTypeHandler", ApiSince=26)]
public virtual Java.Lang.Invoke.MethodType? Type ();
[<Android.Runtime.Register("type", "()Ljava/lang/invoke/MethodType;", "GetTypeHandler", ApiSince=26)>]
abstract member Type : unit -> Java.Lang.Invoke.MethodType
override this.Type : unit -> Java.Lang.Invoke.MethodType

Returns

the method handle type

Attributes

Remarks

Reports the type of this method handle. Every invocation of this method handle via invokeExact must exactly match this type.

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

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