Share via


IMethodHandleInfo.ReferenceKindToString(ReferenceKind) Method

Definition

Returns the descriptive name of the given reference kind, as defined in the table above.

[Android.Runtime.Register("referenceKindToString", "(I)Ljava/lang/String;", "", ApiSince=26)]
public static string? ReferenceKindToString (Java.Lang.Invoke.ReferenceKind referenceKind);
[<Android.Runtime.Register("referenceKindToString", "(I)Ljava/lang/String;", "", ApiSince=26)>]
static member ReferenceKindToString : Java.Lang.Invoke.ReferenceKind -> string

Parameters

referenceKind
ReferenceKind

an integer code for a kind of reference used to access a class member

Returns

a mixed-case string such as "getField"

Attributes

Remarks

Returns the descriptive name of the given reference kind, as defined in the table above. The conventional prefix "REF_" is omitted.

Java documentation for java.lang.invoke.MethodHandleInfo.referenceKindToString(int).

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