Share via


MethodType.LastParameterType Method

Definition

Returns the last parameter type of this method type.

[Android.Runtime.Register("lastParameterType", "()Ljava/lang/Class;", "", ApiSince=33)]
public Java.Lang.Class? LastParameterType ();
[<Android.Runtime.Register("lastParameterType", "()Ljava/lang/Class;", "", ApiSince=33)>]
member this.LastParameterType : unit -> Java.Lang.Class

Returns

the last parameter type if any, else void.class

Attributes

Remarks

Returns the last parameter type of this method type. If this type has no parameters, the sentinel value void.class is returned instead.

Added in 10.

Java documentation for java.lang.invoke.MethodType.lastParameterType().

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