MutableCallSite.Target Property

Definition

Returns the target method of the call site, which behaves like a normal field of the MutableCallSite. -or- Updates the target method of this call site, as a normal variable.

public override Java.Lang.Invoke.MethodHandle? Target { [Android.Runtime.Register("getTarget", "()Ljava/lang/invoke/MethodHandle;", "", ApiSince=26)] get; [Android.Runtime.Register("setTarget", "(Ljava/lang/invoke/MethodHandle;)V", "GetSetTarget_Ljava_lang_invoke_MethodHandle_Handler", ApiSince=26)] set; }
[<get: Android.Runtime.Register("getTarget", "()Ljava/lang/invoke/MethodHandle;", "", ApiSince=26)>]
[<set: Android.Runtime.Register("setTarget", "(Ljava/lang/invoke/MethodHandle;)V", "GetSetTarget_Ljava_lang_invoke_MethodHandle_Handler", ApiSince=26)>]
member this.Target : Java.Lang.Invoke.MethodHandle with get, set

Property Value

MethodHandle

the linkage state of this call site, a method handle which can change over time

Attributes

Remarks

Property getter documentation:

Java documentation for java.lang.invoke.MutableCallSite.getTarget().

Property setter documentation:

Java documentation for java.lang.invoke.MutableCallSite.setTarget(java.lang.invoke.MethodHandle).

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