Share via


IMethodHandleInfo.RefKindIsValid(ReferenceKind) Method

Definition

This member is deprecated.

[Android.Runtime.Register("refKindIsValid", "(I)Z", "", ApiSince=26)]
public static bool RefKindIsValid (Java.Lang.Invoke.ReferenceKind refKind);
[<Android.Runtime.Register("refKindIsValid", "(I)Z", "", ApiSince=26)>]
static member RefKindIsValid : Java.Lang.Invoke.ReferenceKind -> bool

Parameters

refKind
ReferenceKind

Returns

Attributes

Remarks

This member is deprecated. This internal method was accidentally added to API 26 and must not be used. No replacement is available but it is possible to replicate using information from the table above, e.g. refKind >= 1 && refKind <= 9. There are no guarantees that this logic will work if future versions extend the table.

Java documentation for java.lang.invoke.MethodHandleInfo.refKindIsValid(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