Language

IMethodHandleInfo.ReferenceKind Property

Definition

Returns the reference kind of the cracked method handle, which in turn determines whether the method handle's underlying member was a constructor, method, or field.

public Java.Lang.Invoke.ReferenceKind ReferenceKind { [Android.Runtime.Register("getReferenceKind", "()I", "GetGetReferenceKindHandler:Java.Lang.Invoke.IMethodHandleInfoInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getReferenceKind", "()I", "GetGetReferenceKindHandler:Java.Lang.Invoke.IMethodHandleInfoInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
member this.ReferenceKind : Java.Lang.Invoke.ReferenceKind

Property Value

the reference kind of the underlying member

Attributes

Remarks

Returns the reference kind of the cracked method handle, which in turn determines whether the method handle's underlying member was a constructor, method, or field. See the reference-kind table for definitions.

Java documentation for java.lang.invoke.MethodHandleInfo.getReferenceKind().

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