MethodHandles.Lookup.Private Field

Definition

Caution

This constant will be removed in the future version. Use Java.Lang.Invoke.MethodLookupModes enum directly instead of this field.

A single-bit mask representing private access, which may contribute to the result of #lookupModes lookupModes.

[Android.Runtime.Register("PRIVATE", ApiSince=26)]
[System.Obsolete("This constant will be removed in the future version. Use Java.Lang.Invoke.MethodLookupModes enum directly instead of this field.", true)]
public const Java.Lang.Invoke.MethodLookupModes Private = 2;
[<Android.Runtime.Register("PRIVATE", ApiSince=26)>]
[<System.Obsolete("This constant will be removed in the future version. Use Java.Lang.Invoke.MethodLookupModes enum directly instead of this field.", true)>]
val mutable Private : Java.Lang.Invoke.MethodLookupModes

Field Value

Value = 2
Attributes

Remarks

A single-bit mask representing private access, which may contribute to the result of #lookupModes lookupModes. The value, 0x02, happens to be the same as the value of the privatejava.lang.reflect.Modifier#PRIVATE modifier bit.

Java documentation for java.lang.invoke.MethodHandles.Lookup.PRIVATE.

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